added controls for main conf/local files

This commit is contained in:
Arne Teuke
2017-08-03 15:29:17 +01:00
parent fdf29a4e38
commit 202c50762d
8 changed files with 199 additions and 14 deletions

View File

@@ -109,4 +109,20 @@ class cd_fail2ban::main::dirs (
seltype => fail2ban_var_lib_t,
seluser => system_u,
}
# manage /var/run/fail2bam
file { $fn_var_run_dir:
ensure => directory,
path => $fn_var_run_dir,
owner => 'root',
group => 'root',
mode => '0755',
selrange => s0,
selrole => object_r,
seltype => fail2ban_var_run_t,
seluser => system_u,
}
}