[chef] Re: Re: Re: Re: Re: Re: Demonstrating the Power of Chef, Librarian and Vagrant


Chronological Thread 
  • From: Torben Knerr < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Demonstrating the Power of Chef, Librarian and Vagrant
  • Date: Mon, 23 Apr 2012 18:45:07 +0200

Hi Jay,

thanks for the quick reply!

I see the value in not having the same cookbook in different versions, but it is also very restricting and I also see some cases where you might need that.

In the example above, consider that "foo" and "bar" are well tested cookbooks not owned by me. As long as I use them independently (i.e. no node has both of the cookbooks) that dependency to different versions of "baz" is totally fine, and would become a conflict only when I used both cookbooks on the same node, isn't it so?

Now to resolve the conflict, I would have to patch "foo" to be compatible with "baz" 2.0, which might not be an easy task and would potentially break it, so I'd rather not touch that thing!

I'm wondering: shouldn't librarian-chef be more liberal wrt to defining dependencies to different versions of the same cookbook, and on the other hand the chef server (or knife) be more strict wrt to configuring a node with conflicting dependencies?

Cheers,
Torben




Archive powered by MHonArc 2.6.16.

§