Page MenuHomeDevCentral

D3047.diff
No OneTemporary

D3047.diff

diff --git a/roles/core/login/init.sls b/roles/core/login/init.sls
--- a/roles/core/login/init.sls
+++ b/roles/core/login/init.sls
@@ -26,6 +26,11 @@
#
# 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.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -37,3 +42,10 @@
- glibc-langpack-en
{% endif %}
+
+{% if grains['os_family'] == 'Debian' %}
+
+locales-all:
+ pkg.installed
+
+{% endif %}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 5, 06:58 (11 m, 25 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2230116
Default Alt Text
D3047.diff (692 B)

Event Timeline