tobami / littlechef

Cook with Chef without a Chef Server
Apache License 2.0
472 stars 71 forks source link

Move config.cfg to the config/ dir #179

Closed mburns closed 10 years ago

mburns commented 10 years ago

This PR simply moves littlechef's config.cfg file into the config/ directory. It also updates the init and setup steps, as well as the error message for a missing config file to reflect this. It builds and works as expected.

Putting config files (be they littlechef's or chef-solo's) under the config/ dir in a kitchen makes sense to new users, while having 2 'config*' files (one the .cfg, the other a dir) in the root of a kitchen is a little confusing.

tobami commented 10 years ago

What do you mean by having 2 config/ files? Do you use it for chef-solo?

This change would break backwards compatibility. It may be the chance to address #134, which suggest the name littlechef.cfg for the config file. So the legacy naming auth.cfg and config.cfg would stay in the top dir, and we add config/littlechef.cfg, what do you think?

Still, I do not see how what you mean, I didn't come across users before that have a config dir. Would in that case renaming the file solve it for you?