hw-cookbooks/graphite — pull request #198 by andrewgoktepe (2014-10-18 01:45:10+00:00)
Title: make unix socket permissions configurable via attribute

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.