diff options
Diffstat (limited to 'tozt/tozt/manifests/misc.pp')
-rw-r--r-- | tozt/tozt/manifests/misc.pp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tozt/tozt/manifests/misc.pp b/tozt/tozt/manifests/misc.pp new file mode 100644 index 0000000..a68bdd1 --- /dev/null +++ b/tozt/tozt/manifests/misc.pp @@ -0,0 +1,20 @@ +class tozt::misc { + file { + "/etc/locale.gen": + content => "en_US.UTF-8 UTF-8\n", + notify => Exec["regen locale data"]; + "/etc/locale.conf": + content => "LANG=en_US.UTF-8\n", + require => [ + File["/etc/locale.gen"], + Exec["regen locale data"], + ]; + "/etc/hosts": + source => "puppet:///modules/tozt/hosts"; + } + + exec { "regen locale data": + command => "/usr/bin/locale-gen", + refreshonly => true; + } +} |