osmo: make writing osmo config depend on param
This commit is contained in:
parent
f8499e3778
commit
ef50415054
1 changed files with 7 additions and 5 deletions
|
@ -41,11 +41,13 @@ class rhizo_base::openbsc {
|
||||||
require => Package['osmocom-nitb'],
|
require => Package['osmocom-nitb'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/osmocom/osmo-nitb.cfg':
|
unless hiera('rhizo::local_bsc_cfg') == "1" {
|
||||||
content => template('rhizo_base/osmo-nitb.cfg.erb'),
|
file { '/etc/osmocom/osmo-nitb.cfg':
|
||||||
require => Package['osmocom-nitb'],
|
content => template('rhizo_base/osmo-nitb.cfg.erb'),
|
||||||
notify => Exec['notify-nitb'],
|
require => Package['osmocom-nitb'],
|
||||||
}
|
notify => Exec['notify-nitb'],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
exec { 'hlr_pragma_wal':
|
exec { 'hlr_pragma_wal':
|
||||||
command =>
|
command =>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue