Always install and run osmo-sgsn
The old (soon to be removed) openbsc class installed the osmo-sgsn dependent on a config parameter. Leave the config param as a possibility to be set to 'disabled', but otherwise install and run the sgsn. Prevent errors output from cron jobs trying access the sgsn vty
This commit is contained in:
parent
1411dbc968
commit
c564e17097
1 changed files with 7 additions and 1 deletions
|
@ -96,6 +96,12 @@ class rhizo_base::openbsc {
|
|||
require => Package['osmo-sip-connector'],
|
||||
}
|
||||
|
||||
service { 'osmo-sgsn':
|
||||
enable => true,
|
||||
ensure => running,
|
||||
require => Package['osmo-sgsn'],
|
||||
}
|
||||
|
||||
file { '/usr/local/bin/vty':
|
||||
source => 'puppet:///modules/rhizo_base/vty',
|
||||
owner => 'root',
|
||||
|
@ -123,7 +129,7 @@ class rhizo_base::openbsc {
|
|||
require => Package['osmo-sip-connector'],
|
||||
}
|
||||
|
||||
if ($gprs == "active") {
|
||||
if ($gprs != "disabled") {
|
||||
file { '/etc/osmocom/make_sgsn_acl_config':
|
||||
content => template('rhizo_base/make_sgsn_acl_config.erb'),
|
||||
mode => "0750",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue