Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
if $fail2ban::manage_file_source
or $fail2ban::manage_file_content
or $manage_file == 'absent'
or $fail2ban::noops {
or $fail2ban::noops != false {
file { 'fail2ban.local':
ensure => $fail2ban::manage_file,
path => $fail2ban::config_file,
Expand Down Expand Up @@ -479,7 +479,7 @@
if $fail2ban::manage_file_jails_source
or $fail2ban::manage_file_jails_content
or $manage_file == 'absent'
or $fail2ban::noops {
or $fail2ban::noops != false {
file { 'jail.local':
ensure => $fail2ban::manage_file,
path => $fail2ban::jails_file,
Expand All @@ -498,7 +498,7 @@
}

# The whole fail2ban.configuration directory can be recursively overriden
if $fail2ban::source_dir {
if $fail2ban::source_dir != '' {
file { 'fail2ban.dir':
ensure => directory,
path => $fail2ban::config_dir,
Expand All @@ -518,7 +518,7 @@


### Include custom class if $my_class is set
if $fail2ban::my_class {
if $fail2ban::my_class != '' {
include $fail2ban::my_class
}

Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@
$puppi_helper = 'standard'
$debug = false
$audit_only = false
$noops = undef
$noops = false

}