Change RCCN to testing repo and add esme-restart
This commit is contained in:
parent
ea49c4f4c6
commit
56e98228f4
1 changed files with 11 additions and 5 deletions
|
@ -185,7 +185,7 @@ class rhizo_base {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#Rizhomatica scripts
|
#Rhizomatica scripts
|
||||||
file { '/home/rhizomatica/bin':
|
file { '/home/rhizomatica/bin':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
source => 'puppet:///modules/rhizo_base/bin',
|
source => 'puppet:///modules/rhizo_base/bin',
|
||||||
|
@ -230,13 +230,14 @@ class rhizo_base {
|
||||||
vcsrepo { '/var/rhizomatica':
|
vcsrepo { '/var/rhizomatica':
|
||||||
ensure => latest,
|
ensure => latest,
|
||||||
provider => git,
|
provider => git,
|
||||||
source => 'https://github.com/Rhizomatica/rccn.git',
|
source => 'git@dev.rhizomatica.org:rhizomatica/rccn.git',
|
||||||
revision => 'master',
|
revision => 'whyteks/testing',
|
||||||
require => [ File['/var/rhizomatica'], Package['git'] ],
|
require => [ File['/var/rhizomatica'], Package['git'] ],
|
||||||
notify => [ Exec['locale-gen'],
|
notify => [ Exec['locale-gen'],
|
||||||
Exec['notify-freeswitch'],
|
Exec['notify-freeswitch'],
|
||||||
Exec['restart-rapi'],
|
Exec['restart-rapi'],
|
||||||
Exec['restart-smpp'] ],
|
Exec['restart-smpp'],
|
||||||
|
Exec['restart-esme'] ],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/rhizomatica/bin/get_account_balance.sh':
|
file { '/var/rhizomatica/bin/get_account_balance.sh':
|
||||||
|
@ -307,7 +308,12 @@ class rhizo_base {
|
||||||
command => '/usr/bin/sv restart smpp',
|
command => '/usr/bin/sv restart smpp',
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec { 'restart-esme':
|
||||||
|
command => '/usr/bin/sv restart esme',
|
||||||
|
refreshonly => true,
|
||||||
|
}
|
||||||
|
|
||||||
if $operatingsystem == 'Ubuntu' {
|
if $operatingsystem == 'Ubuntu' {
|
||||||
file { '/var/lib/locales/supported.d/local':
|
file { '/var/lib/locales/supported.d/local':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue