nagios_ip_v4 is an array
This commit is contained in:
parent
9a62a680b5
commit
dba28ad40c
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class webserver {
|
||||||
}
|
}
|
||||||
|
|
||||||
class servicemonitor {
|
class servicemonitor {
|
||||||
$nagios_ip_v4 = hiera('nagios_ip_v4')
|
$nagios_ip_v4 = join(hiera('nagios_ip_v4')," ");
|
||||||
ufw::allow { "allow-servicemonitor-from-nagios":
|
ufw::allow { "allow-servicemonitor-from-nagios":
|
||||||
ip => $nagios_ip_v4,
|
ip => $nagios_ip_v4,
|
||||||
port => '444',
|
port => '444',
|
||||||
|
|
Loading…
Add table
Reference in a new issue