Last minutes fix :)

This commit is contained in:
Ciaby 2014-07-19 11:31:12 -04:00
parent 980b322d5c
commit db1075a084
2 changed files with 13 additions and 3 deletions

View file

@ -139,7 +139,7 @@ class rhizomatica_base_system {
source => 'https://github.com/Rhizomatica/rccn.git',
revision => 'master',
require => [ File['/var/rhizomatica'], Package['git'] ],
notify => Exec['install_rccn'],
notify => [ Exec['install_rccn'], Exec['locale-gen'] ],
}
file { '/var/rhizomatica/rccn/config_values.py':
@ -162,6 +162,12 @@ class rhizomatica_base_system {
refreshonly => true,
}
exec { 'locale-gen':
commnd => '/usr/sbin/locale-gen es_ES.utf8',
require => File['/var/rhizomatica/rccn/config_values.py'],
refreshonly => true,
}
file { '/var/www/html/rai':
ensure => link,
target => '/var/rhizomatica/rai',
@ -317,6 +323,11 @@ class rhizomatica_base_system {
File['/etc/freeswitch/sip_profiles/external'] ],
}
file { '/etc/freeswitch/autoload_configs/cdr_pg_csv.conf.xml':
content => template('rhizomatica_base_system/cdr_pg_csv.conf.xml.erb'),
require => [ Package['freeswitch'],
}
#OpenBSC
package { ['osmocom-nitb', 'osmocom-nitb-dbg']:
ensure => installed,