opsworks-chef-cookbooks
opsworks-chef-cookbooks copied to clipboard
trying to check out a private repo but failing
Hi there,
In order to check out my private repo, I need to ensure composer is using ~/.composer/auth.json
which looks like
gitauth.erb: { "github-oauth": { "github.com": "<%= @gitauth %>" } }
install_gitauth.rb where @gitauth is passed in a recipe:
template "/home/ubuntu/.composer/auth.json" do source "gitauth.erb" mode "0644" variables( :gitauth => node["deploy"]["backend"]["environment_variables"]["gitauth"] ) end
And the :gitauth is specified in my custom stack json
however, this recipe doesnt seam to notice my auth.json file. What can I do?