allow nagios hosts on 444
This commit is contained in:
parent
0a83101fc0
commit
f5310ba23f
1 changed files with 3 additions and 3 deletions
|
@ -118,9 +118,9 @@ class webserver($enabled=true) {
|
||||||
}
|
}
|
||||||
|
|
||||||
class servicemonitor {
|
class servicemonitor {
|
||||||
$nagios_ip_v4 = join(hiera('nagios_ip_v4')," ");
|
$nagios_ip_v4 = hiera_array('nagios_ip_v4',[]);
|
||||||
ufw::allow { "allow-servicemonitor-from-nagios":
|
sunet::misc::ufw_allow { "allow-servicemonitor-from-nagios":
|
||||||
ip => $nagios_ip_v4,
|
from => $nagios_ip_v4,
|
||||||
port => '444',
|
port => '444',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue