djoos-cookbooks / composer

Repository for composer cookbook
http://community.opscode.com/cookbooks/composer
MIT License
27 stars 38 forks source link

Fix path to load global config .composer/*.json #64

Closed nascimento closed 7 years ago

nascimento commented 8 years ago

COMPOSER_HOME path need be contacted with ".composer" sub-path to load all configs from global_confs recipe. Without dont work conf like basic-auth, for example.

djoos commented 7 years ago

Hi @nascimento,

I'm not sure I got this PR at the right end of the stick...

If you want to append .composer, you can append it to the node['composer']['install_dir'] or node['composer']['home_dir'], as depending on your use case this will be where COMPOSER_HOME is set to via Composer.home_dir(node).

Happy to reopen this if I've completely misunderstood this one though - thanks in advance for your feedback! David