aboutsummaryrefslogtreecommitdiff
path: root/modules/locales/manifests/locale.pp
blob: 1eb14be994e8eaaa797bc1c840808181595bccac (plain) (blame)
1
2
3
4
5
6
7
define locales::locale ($locale, $charmap = 'UTF-8') {
  file_line { "/etc/locale.gen#$locale":
    path  => '/etc/locale.gen',
    line  => "$locale $charmap  ",
    match => "#?$locale $charmap +$",
  }
}