Fix the locale issue.

This commit is contained in:
Ciaby 2014-08-24 21:07:26 -05:00
parent e52b01045c
commit e7a804cc7b
2 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,3 @@
en_US.UTF-8 UTF-8
es_ES ISO-8859-1
es_ES.UTF-8 UTF-8

View file

@ -163,11 +163,17 @@ class rhizomatica_base_system {
} }
exec { 'locale-gen': exec { 'locale-gen':
command => '/usr/sbin/locale-gen es_ES.utf8', command => '/usr/sbin/locale-gen',
require => File['/var/rhizomatica/rccn/config_values.py'], require => [ File['/var/rhizomatica/rccn/config_values.py'],
File['/var/lib/locales/supported.d/local'] ],
refreshonly => true, refreshonly => true,
} }
file { '/var/lib/locales/supported.d/local':
ensure => present,
source => 'puppet:///modules/rhizomatica_base_system/var/lib/locales/supported.d/local',
}
file { '/var/www/html/rai': file { '/var/www/html/rai':
ensure => link, ensure => link,
target => '/var/rhizomatica/rai', target => '/var/rhizomatica/rai',