sous-chefs / graphite

Development repository for the graphite cookbook
https://supermarket.chef.io/cookbooks/graphite
Apache License 2.0
154 stars 210 forks source link

make unix socket permissions configurable via attribute #198

Closed andrewgoktepe closed 9 years ago

andrewgoktepe commented 9 years ago

This change allows a wrapper cookbook to set the node['graphite']['uwsgi']['socket_permissions'] attribute to set the file permissions on the unix socket. The attribute is defaulted to 755, which is the previous observed value on Ubuntu.

This can be useful for providing the web proxy (e.g. Nginx) with access to the socket. In my own configuration, nginx installed via chef was denied permission to use the socket to proxy requests to graphite-web.

dcparker88 commented 9 years ago

:+1: ran in to this today.

webframp commented 9 years ago

Thanks for the input. Will look at getting to this backlog asap

slyness commented 9 years ago

Thanks.

slyness commented 9 years ago

Please make future pull requests to develop. I have cherry picked these changes to #235 and merged. Closing this PR for that one.

lock[bot] commented 4 years ago

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.