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

Adding the option to modify the permissions on the consul conf.d dire… #430

Merged
merged 1 commit into from
May 16, 2017
Merged

Adding the option to modify the permissions on the consul conf.d dire… #430

merged 1 commit into from
May 16, 2017

Conversation

MichaelKueller
Copy link
Contributor

…ctory.

@codecov-io
Copy link

Codecov Report

Merging #430 into master will decrease coverage by 7.79%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #430     +/-   ##
=========================================
- Coverage   62.82%   55.02%   -7.8%     
=========================================
  Files           7        7             
  Lines         347      358     +11     
=========================================
- Hits          218      197     -21     
- Misses        129      161     +32
Impacted Files Coverage Δ
libraries/consul_config.rb 77.86% <50%> (-19.66%) ⬇️
libraries/consul_service.rb 56.25% <0%> (-1.53%) ⬇️
libraries/helpers.rb 47.36% <0%> (-1.29%) ⬇️
libraries/consul_service_windows.rb 22.95% <0%> (-0.69%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f01a12d...3825f31. Read the comment docs.

@MichaelKueller
Copy link
Contributor Author

@Ginja could you readd your comments to the pull request please. I wanted to have two seperate pull requests for the two changes I made, as they are not related to each other.

@legal90
Copy link
Contributor

legal90 commented May 5, 2017

@MichaelKueller Could you please give an example of the use case - when people might want to set the custom permission mode for this dir?

@MichaelKueller
Copy link
Contributor Author

@legal90 yes, sure.
In our case we have a user different than the consul user, that we use to perform deployments. During the deployment this user writes the service_definition_file into /etc/consul/conf.d directory.
With the current persmissions (0755) this is not possible, as only the consul user could do so. In this case it is very helpful if these permissions are configurable.

@legal90
Copy link
Contributor

legal90 commented May 5, 2017

Thanks, @MichaelKueller! Now it makes sense 👍

@johnbellone, Do you have any concerns to get it merged?

@legal90 legal90 merged commit e7188dc into sous-chefs:master May 16, 2017
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants