diff options
Diffstat (limited to 'modules/locales/manifests/locale.pp')
-rw-r--r-- | modules/locales/manifests/locale.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/locales/manifests/locale.pp b/modules/locales/manifests/locale.pp new file mode 100644 index 0000000..1eb14be --- /dev/null +++ b/modules/locales/manifests/locale.pp | |||
@@ -0,0 +1,7 @@ | |||
1 | define locales::locale ($locale, $charmap = 'UTF-8') { | ||
2 | file_line { "/etc/locale.gen#$locale": | ||
3 | path => '/etc/locale.gen', | ||
4 | line => "$locale $charmap ", | ||
5 | match => "#?$locale $charmap +$", | ||
6 | } | ||
7 | } | ||