chef-boneyard / locale

Chef cookbook to configure the system locale on Linux systems
https://supermarket.chef.io/cookbooks/locale
Apache License 2.0
27 stars 54 forks source link

Use localectl on rhel 7+ #14

Closed realloc closed 8 years ago

realloc commented 9 years ago

Use localectl on rhel 7+

jacobvosmaer commented 9 years ago

:+1: this cookbook errors out on RHEL 7 because /etc/sysconfig/i18n does not exist.

sahilm commented 9 years ago

Any news on when this can be merged?

chewi commented 9 years ago

To be honest, you should probably use localectl on any platform using systemd, including Debian. You can check for this with node['init_package'] == 'systemd'. Debian still uses /etc/default/locale rather than /etc/locale.conf though. I was going to make these changes myself but I'm still struggling to get things to work the way I expect. I don't need this badly enough so I'm giving up for now, sorry!

lamont-granquist commented 8 years ago

20