nagios_ip_v4 is an array

This commit is contained in:
Erik Bergström 2018-07-02 14:53:12 +02:00
parent 9a62a680b5
commit dba28ad40c

View file

@ -98,7 +98,7 @@ class webserver {
}
class servicemonitor {
$nagios_ip_v4 = hiera('nagios_ip_v4')
$nagios_ip_v4 = join(hiera('nagios_ip_v4')," ");
ufw::allow { "allow-servicemonitor-from-nagios":
ip => $nagios_ip_v4,
port => '444',