Puppet Class: mwv::lang

Defined in:
puppet/modules/mwv/manifests/lang.pp

Overview

Class: mwv::lang

Ensures the en_US.UTF-8 language exists.



5
6
7
8
9
10
# File 'puppet/modules/mwv/manifests/lang.pp', line 5

class mwv::lang {
    exec { 'create en_US.UTF-8 language':
        command => 'echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen',
        unless  => 'locale -a | grep en_US.UTF-8',
    }
}