added more file controls
This commit is contained in:
@@ -76,5 +76,21 @@ class cd_fail2ban::main::files (
|
||||
notify => Service[$fn_service],
|
||||
}
|
||||
|
||||
# manage jail.local
|
||||
|
||||
file { $fn_jail_local_file:
|
||||
ensure => present,
|
||||
path => $fn_jail_local_file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0640',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
content => template($fn_jail_local_erb),
|
||||
notify => Service[$fn_service],
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user