saz / puppet-locales

Manage locales with puppet
Other
24 stars 55 forks source link

Not generating locale on Archlinux #53

Closed PaulWalkerUK closed 3 years ago

PaulWalkerUK commented 4 years ago

The default value for $config_file is wrong for ArchLinux. It is currently:

$config_file       = '/etc/locales.gen'

It should be:

$config_file       = '/etc/locale.gen'

It is possible to work around this be manually setting config_file as a parameter, eg:

  class { 'locales':
    default_locale  => 'en_US.UTF-8',
    locales         => ['en_US.UTF-8 UTF-8', 'fr_CH.UTF-8 UTF-8'],
    config_file     => '/etc/locale.gen',
  }