Skip to content
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

add logroot_mode parameter #760

Merged
merged 2 commits into from
Jun 26, 2014
Merged

add logroot_mode parameter #760

merged 2 commits into from
Jun 26, 2014

Conversation

nbeernink
Copy link

No description provided.

@igalic
Copy link
Contributor

igalic commented Jun 4, 2014

What does this new parameter do? Can you please document it in README.md?

Also, please add spec/acceptance tests!

@nbeernink
Copy link
Author

Hi Igor,

This parameter allows people to set the mode on the logroot directory. I've set the default to undef with the assumption that it will not change the default mode set by the installed package (0700 on RedHat, 0750 on Debian).

spectest was already included, unfortunately I'm not sure how to write the acceptance test.

The usecase here is that we want to allow ssh users read access to the logfiles. So mode 0755 on the /var/log/httpd directory.

apenney pushed a commit that referenced this pull request Jun 26, 2014
add logroot_mode parameter
@apenney apenney merged commit 3049676 into puppetlabs:master Jun 26, 2014
@nbeernink nbeernink deleted the logrootperms branch July 30, 2014 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants