On 08.09.2010 20:55, Gilles Devaux wrote:well, by attributes I mean atributes of the scm resource, like here:
Yo,
How did you update the attributes? If you used 'default' then chef
will not change a node's attribute if it's already there:
http://wiki.opscode.com/display/chef/Attributes
--Gilles
scm tool do
destination "#{node[:tools][:prefix]}/#{tool}"
repository "#{node[:tools][:repo]}/#{tool}"
action :sync
provider "git"
end
looks like chef doesn't make sure the git remote of a cloned repo matches the repository attribute provided. Is it a feature?
Archive powered by MHonArc 2.6.16.