summaryrefslogtreecommitdiff
path: root/manifests/common.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-23 14:43:18 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-09 18:05:08 +0100
commit16555651c0a69ac30f268dafec908eb654d4726f (patch)
tree1677650bb2f0ec67a7943ad109cfc9b3a8bcce48 /manifests/common.pp
parentAdd profiles::workstation::family::debian. (diff)
downloadprofiles-16555651c0a69ac30f268dafec908eb654d4726f.tar.gz
profiles-16555651c0a69ac30f268dafec908eb654d4726f.tar.xz
Add ordering for locales on debian.
Diffstat (limited to '')
-rw-r--r--manifests/common.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/common.pp b/manifests/common.pp
index cb6da75..e93f3b2 100644
--- a/manifests/common.pp
+++ b/manifests/common.pp
@@ -15,7 +15,9 @@ class profiles::common (
}
if $facts['os']['name'] == 'Debian' {
- ensure_packages (['locales'])
+ ensure_packages (['locales'], {
+ before => Exec['locale-gen'],
+ })
}
# TODO possibly check in /usr/share/i18n/locales if file exists