latency check hosts: use variables
This commit is contained in:
parent
fc4a90c718
commit
e9b8128322
2 changed files with 3 additions and 2 deletions
|
@ -72,6 +72,7 @@ class rhizo_base {
|
||||||
$riak_ip_address = hiera('rhizo::riak_ip_address', $vpn_ip_address)
|
$riak_ip_address = hiera('rhizo::riak_ip_address', $vpn_ip_address)
|
||||||
$sip_central_ip_address = hiera('rhizo::sip_central_ip_address')
|
$sip_central_ip_address = hiera('rhizo::sip_central_ip_address')
|
||||||
$latency_check_address = hiera('rhizo::latency_check_address','1.1.1.1')
|
$latency_check_address = hiera('rhizo::latency_check_address','1.1.1.1')
|
||||||
|
$latency_check_vpn = hiera('rhizo::latency_check_vpn','10.23.0.2')
|
||||||
|
|
||||||
# SITE settings
|
# SITE settings
|
||||||
# rate type can be "call" or "min"
|
# rate type can be "call" or "min"
|
||||||
|
|
|
@ -18,8 +18,8 @@ BTS2=<%= @bts2_ip_address %>
|
||||||
BTS3=<%= @bts3_ip_address %>
|
BTS3=<%= @bts3_ip_address %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
LATENCY_HOST=1.1.1.1
|
LATENCY_HOST=<%= @latency_check_address %>
|
||||||
LATENCY_TINC=10.23.0.14
|
LATENCY_TINC=<%= @latency_check_vpn %>
|
||||||
STAT_DISK=sda1
|
STAT_DISK=sda1
|
||||||
STAT_IF=enp0s3
|
STAT_IF=enp0s3
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue