Replace the nil check with a false check
This commit is contained in:
parent
21c14e928e
commit
8604291db5
2 changed files with 8 additions and 8 deletions
|
@ -38,13 +38,13 @@ class rhizomatica_base_system {
|
||||||
$arfcn_A = hiera('rhizo::arfcn_A')
|
$arfcn_A = hiera('rhizo::arfcn_A')
|
||||||
$arfcn_B = hiera('rhizo::arfcn_B')
|
$arfcn_B = hiera('rhizo::arfcn_B')
|
||||||
|
|
||||||
$bts2_ip_address = hiera('rhizo::bts2_ip_address', undef)
|
$bts2_ip_address = hiera('rhizo::bts2_ip_address', false)
|
||||||
$arfcn_C = hiera('rhizo::arfcn_C', undef)
|
$arfcn_C = hiera('rhizo::arfcn_C', false)
|
||||||
$arfcn_D = hiera('rhizo::arfcn_D', undef)
|
$arfcn_D = hiera('rhizo::arfcn_D', false)
|
||||||
|
|
||||||
$bts3_ip_address = hiera('rhizo::bts3_ip_address', undef)
|
$bts3_ip_address = hiera('rhizo::bts3_ip_address', false)
|
||||||
$arfcn_E = hiera('rhizo::arfcn_E', undef)
|
$arfcn_E = hiera('rhizo::arfcn_E', false)
|
||||||
$arfcn_F = hiera('rhizo::arfcn_F', undef)
|
$arfcn_F = hiera('rhizo::arfcn_F', false)
|
||||||
|
|
||||||
# VPN ip address
|
# VPN ip address
|
||||||
$vpn_ip_address = hiera('rhizo::vpn_ip_address')
|
$vpn_ip_address = hiera('rhizo::vpn_ip_address')
|
||||||
|
|
|
@ -183,7 +183,7 @@ network
|
||||||
timeslot 7
|
timeslot 7
|
||||||
phys_chan_config TCH/F
|
phys_chan_config TCH/F
|
||||||
hopping enabled 0
|
hopping enabled 0
|
||||||
<% if not @bts2_ip_address.nil? -%>
|
<% if ! @bts2_ip_address -%>
|
||||||
bts 2
|
bts 2
|
||||||
type sysmobts
|
type sysmobts
|
||||||
band GSM850
|
band GSM850
|
||||||
|
@ -289,7 +289,7 @@ network
|
||||||
phys_chan_config TCH/F
|
phys_chan_config TCH/F
|
||||||
hopping enabled 0
|
hopping enabled 0
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<% if not @bts3_ip_address.nil? %>
|
<% if ! @bts3_ip_address -%>
|
||||||
bts 4
|
bts 4
|
||||||
type sysmobts
|
type sysmobts
|
||||||
band GSM850
|
band GSM850
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue