-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow change of file mode for generated files #70
Comments
Fix would require adding file mode parameters to cron defined type, and also a parameter somewhere else to change mode for /etc/logrotate.conf |
Sorry - I disagree. The mode for /etc/logrotate.conf ist explicitly set inside conf.pp:
If I switch it of with |
@hoggle64 Miscommunication on my part here. My comment was outlining potential code in a new Pull Request that would be needed to fix your problem. |
o.k. - thanks for the update |
+1 - We are also being dinged for OpenSCAP (security scan) It would be nice, if these parameters were added, if they matched the RPM permissions by default :)
|
@TJM could you provide a fix for that? |
@bastelfreak would it be wrong to convert to module hiera data to add this feature? :-/ |
Affected Puppet, Ruby, OS and module versions/distributions
We need to fix security issues reported by OpenScap. One of those issues points out that the permissions of files which were installed by a RPM should always stay the same.
This module changes the permissions of:
though.
What are you seeing
Permission are getting changed during the Puppet run:
What behaviour did you expect instead
No mode change of files which were delivered by a RPM package.
The text was updated successfully, but these errors were encountered: