Skip to content

Commit

Permalink
Fix: Dead links result in an error dev-sec#271
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Bergemann <extern.timo.bergemann@4com.de>
  • Loading branch information
Timo Bergemann committed Mar 22, 2021
1 parent f3f7e5d commit 9056884
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/minimize_access.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
Array $ignore_users = [],
Array $ignore_home_users = [],
Array $ignore_restrict_log_dir = [],
Array $ignore_files_in_folder_to_restrict = [],
Array $folders_to_restrict =
['/usr/local/games','/usr/local/sbin','/usr/local/bin','/usr/bin','/usr/sbin','/sbin','/bin'],
Array $restrict_log_dir =
Expand Down Expand Up @@ -49,6 +50,7 @@
ensure_resources ('file',
{ $folders_to_restrict => {
ensure => directory,
ignore => $ignore_files_in_folder_to_restrict,
links => follow,
mode => 'go-w',
recurse => true,
Expand Down

0 comments on commit 9056884

Please sign in to comment.