OP#561 fix fw setting
This commit is contained in:
@@ -15,7 +15,7 @@ class confdroid_ssh::firewall::iptables (
|
|||||||
jump => 'accept',
|
jump => 'accept',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if $ssh_use_firewall != true {
|
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',
|
||||||
|
|||||||
@@ -7,9 +7,7 @@ class confdroid_ssh::main::service (
|
|||||||
) inherits confdroid_ssh::params {
|
) inherits confdroid_ssh::params {
|
||||||
require confdroid_ssh::main::files
|
require confdroid_ssh::main::files
|
||||||
require confdroid_ssh::selinux::semanage
|
require confdroid_ssh::selinux::semanage
|
||||||
if $ssh_use_firewall {
|
|
||||||
require confdroid_ssh::firewall::iptables
|
require confdroid_ssh::firewall::iptables
|
||||||
}
|
|
||||||
|
|
||||||
service { $sshd_service:
|
service { $sshd_service:
|
||||||
ensure => running,
|
ensure => running,
|
||||||
|
|||||||
Reference in New Issue
Block a user