summaryrefslogtreecommitdiff
path: root/manifests/common.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-13 12:23:30 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-13 12:23:30 +0100
commit904af3d768a8e0a02644f5a478ec8be356ed89bc (patch)
tree27d9ab36e563d4d98d9376decc497a6c62133ee7 /manifests/common.pp
parentRewrote profiles::remarkable (diff)
downloadprofiles-904af3d768a8e0a02644f5a478ec8be356ed89bc.tar.gz
profiles-904af3d768a8e0a02644f5a478ec8be356ed89bc.tar.xz
Common profile for debian.
Diffstat (limited to 'manifests/common.pp')
-rw-r--r--manifests/common.pp6
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,
}