Closed smoeding closed 2 years ago
Shouldn't puppet be automatically adding +x
to directories it can read? I thought the recurse
option would push permissions onto contained files - thus making the .repo
files +x (I could be wrong here).
Well, looks like it really works. When I tested the module update I had a duplicate resource error because I managed the repo directory locally until now. I just looked at the code and didn't test any more. Sorry about that!
The Puppet language otherwise tries to be very expressive about the state of a resource, so I'm not convinced that it is good style.
Pull Request (PR) description
With a recent commit the module started to manage
/etc/yum.repos.d
. Unfortunately the non-standard directory mode0644
is used.This PR changes the directory mode to the more suitable
0755
.