Compare commits
5 Commits
3a6ae42dda
...
b13a7f7c6a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b13a7f7c6a | ||
|
|
a5b60a4418 | ||
|
|
cce6b6bb1b | ||
| 493f8fc2eb | |||
|
|
374852537d |
@@ -139,7 +139,7 @@ class confdroid_ssh::firewall::iptables (
|
|||||||
jump => 'accept',
|
jump => 'accept',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
if $ssh_use_firewall == false {
|
||||||
firewall { "${ssh_fw_order}${ssh_fw_port} remove SSH on port ${ssh_fw_port}":
|
firewall { "${ssh_fw_order}${ssh_fw_port} remove SSH on port ${ssh_fw_port}":
|
||||||
ensure => 'absent',
|
ensure => 'absent',
|
||||||
proto => 'tcp',
|
proto => 'tcp',
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ class confdroid_ssh::firewall::iptables (
|
|||||||
jump => 'accept',
|
jump => 'accept',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
if $ssh_use_firewall == false {
|
||||||
firewall { "${ssh_fw_order}${ssh_fw_port} remove SSH on port ${ssh_fw_port}":
|
firewall { "${ssh_fw_order}${ssh_fw_port} remove SSH on port ${ssh_fw_port}":
|
||||||
ensure => 'absent',
|
ensure => 'absent',
|
||||||
proto => 'tcp',
|
proto => 'tcp',
|
||||||
@@ -25,4 +25,3 @@ class confdroid_ssh::firewall::iptables (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user