Run the RRD create scripts when rccn is updated

This commit is contained in:
Wile E. Coyote 2019-05-04 07:59:38 +00:00
parent ee84468c27
commit 568410f33f

View file

@ -285,7 +285,9 @@ schedule { 'repo':
Exec['notify-freeswitch'],
Exec['restart-rapi'],
Exec['restart-smpp'],
Exec['restart-esme'] ],
Exec['restart-esme'],
Exec['rrd-p-create'],
Exec['rrd-n-create'], ],
}
file { '/var/rhizomatica/rccn/config_values.py':
@ -384,6 +386,17 @@ schedule { 'repo':
refreshonly => true,
}
exec { 'rrd-p-create':
command => '/var/rhizomatica/bin/platform_create_rrd.sh',
refreshonly => true,
}
exec { 'rrd-n-create':
command => '/var/rhizomatica/bin/network_create_rrd.sh',
refreshonly => true,
}
if $operatingsystem == 'Ubuntu' {
file { '/var/lib/locales/supported.d/local':
ensure => present,