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'], 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 =>