Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768498
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
View Options
diff --git a/roles/core/login/init.sls b/roles/core/login/init.sls
index af874fb..aad97e8 100644
--- a/roles/core/login/init.sls
+++ b/roles/core/login/init.sls
@@ -1,22 +1,39 @@
# -------------------------------------------------------------
# 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.
+#
+# 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 %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Nov 25, 08:21 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259831
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment