Page MenuHomeDevCentral

D3047.id7775.diff
No OneTemporary

D3047.id7775.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
@@ -37,3 +37,20 @@
- glibc-langpack-en
{% endif %}
+
+{% if grains['os_family'] == 'Debian' %}
+
+/etc/locale.gen:
+ file.managed:
+ - contents:
+ - en_US.UTF-8 UTF-8
+ - fr_BE.UTF-8 UTF-8
+ - fr_FR.UTF-8 UTF-8
+
+reconfigure_locales:
+ cmd.run:
+ - name: dpkg-reconfigure locales
+ - watch:
+ - file: /etc/locale.gen
+
+{% endif %}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 19:54 (20 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2267649
Default Alt Text
D3047.id7775.diff (506 B)

Event Timeline