Selectively enable/disable kannel/esme
Note that a repo refresh of rccn will trigger and esme-restart but if we are using kannel the link in /etc/service will not exist so there will be no restart.
This commit is contained in:
parent
01908da55d
commit
0c8f78698a
2 changed files with 42 additions and 2 deletions
|
@ -263,7 +263,8 @@ schedule { 'repo':
|
|||
notify => [ Exec['locale-gen'],
|
||||
Exec['notify-freeswitch'],
|
||||
Exec['restart-rapi'],
|
||||
Exec['restart-smpp'] ],
|
||||
Exec['restart-smpp'],
|
||||
Exec['restart-esme'] ],
|
||||
}
|
||||
|
||||
vcsrepo { '/var/meas_web':
|
||||
|
@ -351,6 +352,10 @@ schedule { 'repo':
|
|||
refreshonly => true,
|
||||
}
|
||||
|
||||
exec { 'restart-esme':
|
||||
command => '/usr/bin/sv restart esme',
|
||||
refreshonly => true,
|
||||
}
|
||||
|
||||
if $operatingsystem == 'Ubuntu' {
|
||||
file { '/var/lib/locales/supported.d/local':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue