summaryrefslogtreecommitdiff
path: root/manifests/common.pp
diff options
context:
space:
mode:
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