diff options
-rw-r--r-- | manifests/common.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/common.pp b/manifests/common.pp index 4cb5226..6de8a20 100644 --- a/manifests/common.pp +++ b/manifests/common.pp @@ -14,6 +14,10 @@ class profiles::common ( target => "/usr/share/zoneinfo/${timezone}", } + if $facts['os']['name'] == 'Debian' { + ensure_packages (['locales']) + } + # TODO possibly check in /usr/share/i18n/locales if file exists # there @@ -28,7 +32,7 @@ class profiles::common ( file { '/etc/locale.gen': content => $fixed_locales.join("\n") } ~> exec { 'locale-gen': - path => [ '/bin', '/usr/bin', ], + path => [ '/bin', '/usr/bin', '/usr/sbin', ], refreshonly => true, } |