Say I have a web_role cookbook, and its metadata.rb file looks like this
depends 'apache', '= 1.0.0'
depends 'webapp', '= 1.0.0'
depends 'someapp', '= 1.0.0'
...and my webapp cookbook's metadata.rb files look like...
depends 'apache' # Not pinned to any version
On the server I have
">
and
">
versions of the apache cookbook
Now if I add my web_role cookbook to my node's run list, which version of the apache cookbook will converge, 1.0.0 defined in the web_role's metadata.rb file, or the 1.2.0, latest version on the chef server?
Chris