diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-13 12:23:30 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-13 12:23:30 +0100 |
commit | 904af3d768a8e0a02644f5a478ec8be356ed89bc (patch) | |
tree | 27d9ab36e563d4d98d9376decc497a6c62133ee7 /manifests/common.pp | |
parent | Rewrote profiles::remarkable (diff) | |
download | profiles-904af3d768a8e0a02644f5a478ec8be356ed89bc.tar.gz profiles-904af3d768a8e0a02644f5a478ec8be356ed89bc.tar.xz |
Common profile for debian.
Diffstat (limited to 'manifests/common.pp')
-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, } |