evertrue / zookeeper-cookbook

Chef cookbook for installing and managing Zookeeper.
https://supermarket.chef.io/cookbooks/zookeeper
Apache License 2.0
81 stars 117 forks source link

Skip S3 credentials file if AWS credentials are not provided #52

Closed daveyeu closed 10 years ago

daveyeu commented 10 years ago

This prevents an invalid exhibitor.s3.properties file from being written and used if the credentials are missing.

The bonus side-effect (that I'm actually interested in) is that the s3credentials option is omitted, and Exhibitor can fall back onto IAM profiles on EC2 instances.

mwhooker commented 10 years ago

lgtm, thanks. I may change this down the line to be more explicit.