Add a hiera parameter to allow for local osmo-nitb.cfg

This commit is contained in:
Wile E. Coyote 2018-11-14 15:26:44 +00:00
parent acf85c650d
commit 44fff5a761

View file

@ -87,11 +87,13 @@ class rhizo_base::openbsc::common {
require => Package['osmocom-nitb'],
}
file { '/etc/osmocom/osmo-nitb.cfg':
content => template('rhizo_base/osmo-nitb.cfg.erb'),
require => Package['osmocom-nitb'],
notify => Exec['notify-nitb'],
}
unless hiera('rhizo::local_bsc_cfg') == "1" {
file { '/etc/osmocom/osmo-nitb.cfg':
content => template('rhizo_base/osmo-nitb.cfg.erb'),
require => Package['osmocom-nitb'],
notify => Exec['notify-nitb'],
}
}
exec { 'hlr_pragma_wal':
command =>