reminder to switch version to rccn production for going live and mergefix
This commit is contained in:
commit
5f2ba3993d
10 changed files with 72 additions and 25 deletions
|
@ -34,6 +34,7 @@ class rhizo_base {
|
|||
# network name
|
||||
$network_name = hiera('rhizo::network_name')
|
||||
$auth_policy = hiera('rhizo::auth_policy')
|
||||
$lac = hiera('rhizo::lac')
|
||||
|
||||
#BTSs configuration
|
||||
$bts1_ip_address = hiera('rhizo::bts1_ip_address')
|
||||
|
@ -189,6 +190,8 @@ class rhizo_base {
|
|||
provider => git,
|
||||
source => 'https://github.com/Rhizomatica/rccn.git',
|
||||
revision => 'multilectical/localnetpage',
|
||||
# change back for production
|
||||
# revision => '1.0.6',
|
||||
require => [ File['/var/rhizomatica'], Package['git'] ],
|
||||
notify => [ Exec['locale-gen'],
|
||||
Exec['restart-freeswitch'],
|
||||
|
|
|
@ -12,8 +12,14 @@
|
|||
#
|
||||
class rhizo_base::lcr {
|
||||
package { 'lcr':
|
||||
ensure => installed,
|
||||
ensure => latest,
|
||||
require => Class['rhizo_base::apt'],
|
||||
notify => Exec['restart-lcr'],
|
||||
}
|
||||
|
||||
exec { 'restart-lcr':
|
||||
command => '/usr/bin/sv restart lcr',
|
||||
refreshonly => true,
|
||||
}
|
||||
|
||||
service { 'lcr':
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
class rhizo_base::openbsc {
|
||||
$network_name = $rhizo_base::network_name
|
||||
$auth_policy = $rhizo_base::auth_policy
|
||||
$lac = $rhizo_base::lac
|
||||
$max_power_red = $rhizo_base::max_power_red
|
||||
$arfcn_A = $rhizo_base::arfcn_A
|
||||
$arfcn_B = $rhizo_base::arfcn_B
|
||||
|
@ -24,21 +25,41 @@ class rhizo_base::openbsc {
|
|||
$bts3_ip_address = $rhizo_base::bts3_ip_address
|
||||
$smsc_password = $rhizo_base::smsc_password
|
||||
|
||||
package { ['osmocom-nitb', 'osmocom-nitb-dbg',
|
||||
'libdbd-sqlite3', 'libsmpp0']:
|
||||
ensure => installed,
|
||||
require => Class['rhizo_base::apt'],
|
||||
notify => Exec['hlr_pragma_wal'],
|
||||
package { [ 'libosmoabis4', 'libosmocore6',
|
||||
'libosmoctrl0', 'libosmogsm5',
|
||||
'libosmovty1', 'osmocom-nitb',
|
||||
'osmocom-nitb-dbg']:
|
||||
ensure => latest,
|
||||
require => Class['rhizo_base::apt'],
|
||||
notify => [ Exec['hlr_pragma_wal'],
|
||||
Exec['restart-nitb'] ],
|
||||
}
|
||||
|
||||
package { [ 'libosmoabis3', 'libosmocore4',
|
||||
'libosmogsm6', 'libosmovty0',
|
||||
'libgtp', 'libgtp0',
|
||||
'libgtp0-dev', 'openggsn',
|
||||
'libosmo-abis', 'libosmo-abis-dbg',
|
||||
'libosmo-abis-dev', 'libosmo-netif-dbg',
|
||||
'libosmo-netif-dev', 'libosmo-sccp',
|
||||
'libosmo-sccp-dbg', 'libosmo-sccp-dev',
|
||||
'libosmocodec0', 'libosmocore',
|
||||
'libosmocore-dbg', 'libosmocore-dev',
|
||||
'libosmocore-utils', 'libosmogb3',
|
||||
'libosmonetif2', 'libosmosim0',
|
||||
'libosmotrau0']:
|
||||
ensure => purged,
|
||||
}
|
||||
|
||||
service { 'osmocom-nitb':
|
||||
enable => false,
|
||||
require => Package['osmocom-nitb']
|
||||
require => Package['osmocom-nitb'],
|
||||
}
|
||||
|
||||
file { '/etc/osmocom/osmo-nitb.cfg':
|
||||
content => template('rhizo_base/osmo-nitb.cfg.erb'),
|
||||
require => Package['osmocom-nitb'],
|
||||
notify => Exec['restart-nitb'],
|
||||
}
|
||||
|
||||
exec { 'hlr_pragma_wal':
|
||||
|
@ -47,4 +68,11 @@ class rhizo_base::openbsc {
|
|||
require => Class['rhizo_base::packages'],
|
||||
refreshonly => true,
|
||||
}
|
||||
|
||||
exec { 'restart-nitb':
|
||||
command => '/usr/bin/sv restart osmo-nitb',
|
||||
require => Class['rhizo_base::packages'],
|
||||
refreshonly => true,
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue