The last commit only for nightly
This commit is contained in:
parent
be4597d985
commit
4bb2d2e99d
1 changed files with 12 additions and 5 deletions
|
@ -138,11 +138,6 @@ class rhizo_base::openbsc {
|
|||
mode => "0750",
|
||||
}
|
||||
|
||||
file { '/etc/osmocom/osmo-sgsn.cfg':
|
||||
content => template('rhizo_base/osmo-sgsn-ns1.cfg.erb'),
|
||||
mode => "0750",
|
||||
notify => Service['osmo-sgsn'],
|
||||
}
|
||||
|
||||
systemd::dropin_file { 'override.conf':
|
||||
unit => 'osmo-sgsn.service',
|
||||
|
@ -155,6 +150,18 @@ class rhizo_base::openbsc {
|
|||
default => 'installed',
|
||||
}
|
||||
|
||||
$sgsn_cfg_file = $repo ? {
|
||||
'latest' => '-ns1',
|
||||
'nightly' => '',
|
||||
default => '',
|
||||
}
|
||||
|
||||
file { '/etc/osmocom/osmo-sgsn.cfg':
|
||||
content => template("rhizo_base/osmo-sgsn$sgsn_cfg_file.cfg.erb"),
|
||||
mode => "0750",
|
||||
notify => Service['osmo-sgsn'],
|
||||
}
|
||||
|
||||
package { [ 'osmo-sgsn' ]:
|
||||
ensure => $sgsn_version,
|
||||
require => Class['rhizo_base::apt'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue