action to jump
This commit is contained in:
@@ -29,27 +29,15 @@ class cd_nagios::firewall::iptables (
|
||||
|
||||
if $ng_use_https != true {
|
||||
|
||||
firewall { "${ng_fw_order}${ng_http_port} port ${ng_http_port}":
|
||||
proto => ['tcp','udp'],
|
||||
dport => $ng_http_port,
|
||||
action => 'accept',
|
||||
}
|
||||
}
|
||||
include confdroid_infrastructure::firewall::http
|
||||
|
||||
if $ng_use_https == true {
|
||||
|
||||
firewall { "${ng_fw_order}${ng_https_port} port ${ng_https_port}":
|
||||
proto => ['tcp','udp'],
|
||||
dport => $ng_https_port,
|
||||
action => 'accept',
|
||||
}
|
||||
include confdroid_infrastructure::firewall::https
|
||||
|
||||
if $ng_http_https_fw == true {
|
||||
|
||||
firewall { "${ng_fw_order}${ng_http_port} port ${ng_http_port}":
|
||||
proto => ['tcp','udp'],
|
||||
dport => $ng_http_port,
|
||||
action => 'accept',
|
||||
include confdroid_infrastructure::firewall::http
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user