elasticsearch/cookbook-elasticsearch — pull request #148 by andrewgross (2013-10-07 15:20:50+00:00)
Title: Only template authentication config if users specified

If the config is added but no username/passwords exist in the file, authentication is impossible as there are no valid credentials. This adds the same guard that sits around the templating of the passwords file to the authentication section of the proxy.