diff options
Diffstat (limited to 'deployment/common')
-rw-r--r-- | deployment/common/manifests/i18n.pp | 5 | ||||
-rw-r--r-- | deployment/common/templates/locale.conf | 20 |
2 files changed, 24 insertions, 1 deletions
diff --git a/deployment/common/manifests/i18n.pp b/deployment/common/manifests/i18n.pp index 9ef731ad..cf511862 100644 --- a/deployment/common/manifests/i18n.pp +++ b/deployment/common/manifests/i18n.pp @@ -5,4 +5,7 @@ class common::i18n { file { '/etc/sysconfig/i18n': content => template('common/i18n'), } -} + + file { '/etc/locale.conf': + content => template('common/locale.conf'), + } diff --git a/deployment/common/templates/locale.conf b/deployment/common/templates/locale.conf new file mode 100644 index 00000000..e9fc2e06 --- /dev/null +++ b/deployment/common/templates/locale.conf @@ -0,0 +1,20 @@ +<%- +# should not be changed +locale = 'en_US.UTF-8' + +-%> +LC_TELEPHONE=<%= locale %> +LC_CTYPE=<%= locale %> +LANGUAGE=<%= locale %>:<%= locale.split('.')[0] %>:<%= locale.split('.')[0].split('_')[0] %> +LC_MONETARY=<%= locale %> +LC_ADDRESS=<%= locale %> +LC_COLLATE=<%= locale %> +LC_PAPER=<%= locale %> +LC_NAME=<%= locale %> +LC_NUMERIC=<%= locale %> +LC_MEASUREMENT=<%= locale %> +LC_TIME=<%= locale %> +LANG=<%= locale %> +LC_IDENTIFICATION=<%= locale %> +LC_MESSAGES=<%= locale %> + |