Well, actually it probably is working and I'm not doing
something right.
I'm using deploy via the application cookbook, and my recipe
looks like this...
application 'bart' do
path root_path
owner "nobody"
group "nogroup"
bart_data = data_bag_item('bti', 'bart')
mongo_data = data_bag_item('bti', 'mongo')
repository bart_data['repository']
deploy_key bart_data['deploy_key']
Chef::Log.warn("BRANCH: #{node['bart'][:branch]}")
revision node['bart']['branch']
migrate false
The correct value for [:bart][:branch] is printed in the log
(in this case it happens to be "development")
However, in the installation dir, it doesn't seem to have
had any effect...?
git branch
* deploy
master
I'm expecting to see "development" there.
I'm assuming that the "deploy" branch is added by the
deployment cookbook as a branch off of master.
In my case, I would want it to be branched off of
development.
Can anyone explain how this works?
Liam
--
Liam Kirsher
PGP: http://liam.numenet.com/pgp/