Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3769608
init.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
init.sls
View Options
# -------------------------------------------------------------
# Set login capabilities
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2020-01-20
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
if
grains
[
'os'
]
==
'FreeBSD'
%}
/etc/login.conf
:
file.managed
:
-
source
:
salt://roles/core/login/files/login.conf
-
mode
:
644
compile_login_db
:
cmd.run
:
-
name
:
cap_mkdb /etc/login.conf
-
onchanges
:
-
file
:
/etc/login.conf
{%
endif
%}
# -------------------------------------------------------------
# Locales
#
# Each system should at least provide en_US.UTF-8.
#
# Two locales strategies exist:
# - install a package with all locales (Debian)
# - install locales packages (RHEL)
#
# In the second case, we need to list all the locales we need.
# Any being is welcome to add any locale in this section.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{%
if
grains
[
'os_family'
]
==
'RedHat'
%}
locales_packages
:
pkg.installed
:
-
pkgs
:
-
glibc-langpack-en
{%
endif
%}
{%
if
grains
[
'os_family'
]
==
'Debian'
%}
locales-all
:
pkg.installed
{%
endif
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 16:10 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260502
Default Alt Text
init.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment