saltstack-formulas / composer-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
2 stars 5 forks source link

Private package repository requires http authentication, formula doesn't get credentials from auth.json #3

Open leda-ferreira opened 8 years ago

leda-ferreira commented 8 years ago

I tried to run a composer update on a number of minions, and got an error saying http authentication was required, and asking to run composer in interactive mode. However, all of the minions have the auth.json file properly configured, and when I log into them I can run composer update just fine without any similar warnings. I appears the composer formula doesn't work with auth.json, even if the runas parameter is specified.

wwentland commented 8 years ago

Could you try https://github.com/saltstack-formulas/php-formula/blob/master/php/composer.sls instead of this formula please? Does that work better?

leda-ferreira commented 8 years ago

Thank you, I'll give it a try asap