From db6e3e011fc57d6031d75e29f10a268817b83820 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 25 Feb 2016 18:27:42 +0100 Subject: [PATCH] Add basic/localization.sls --- basic/localization.sls | 53 ++++++++++++++++++++++++++++++++++++++++++ top.sls | 2 +- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 basic/localization.sls diff --git a/basic/localization.sls b/basic/localization.sls new file mode 100644 index 0000000..4d9ff6b --- /dev/null +++ b/basic/localization.sls @@ -0,0 +1,53 @@ +{% if salt['grains.get']('os_family') != "Gentoo" %} +locales: + pkg.installed: + - name: locales +{% endif %} + +de_AT.UTF-8 UTF-8: + locale.present + +de_BE.UTF-8 UTF-8: + locale.present + +de_CH.UTF-8 UTF-8: + locale.present + +de_DE.UTF-8 UTF-8: + locale.present + +de_LU.UTF-8 UTF-8: + locale.present + +en_AU.UTF-8 UTF-8: + locale.present + +en_CA.UTF-8 UTF-8: + locale.present + +en_GB.UTF-8 UTF-8: + locale.present + +en_HK.UTF-8 UTF-8: + locale.present + +en_IE.UTF-8 UTF-8: + locale.present + +en_NZ.UTF-8 UTF-8: + locale.present + +en_US.UTF-8 UTF-8: + locale.present + +en_ZA.UTF-8 UTF-8: + locale.present + +default_locale: + locale.system: + - name: de_DE.UTF-8 + +timezone: + timezone.system: + - name: {{ salt['pillar.get']('timezone', 'Europe/Berlin') }} + diff --git a/top.sls b/top.sls index 4230482..8b5362f 100644 --- a/top.sls +++ b/top.sls @@ -4,7 +4,7 @@ base: # - basic.rsync # - basic.shells # - basic.editors -# - basic.localization + - basic.localization 'ns3.uhu-banane.de': - debian.apt -- 2.39.5