Skip to content

Commit

Permalink
Fixes #30962 - fix dhcpd.conf acl
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bucher committed Oct 7, 2020
1 parent 3838f92 commit 86050da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions manifests/proxydhcp.pp
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@
exec { "Allow ${foreman_proxy::user} to read ${path}":
command => "setfacl -R -m u:${foreman_proxy::user}:rx ${path}",
path => ['/bin', '/usr/bin'],
unless => "getfacl -p ${path} | grep user:${foreman_proxy::user}:r-x",
require => Package['acl'],
require => [
Package['acl'],
Class['dhcp'],
],
}
}

Expand Down

0 comments on commit 86050da

Please sign in to comment.