- From: Joseph Holsten <
>
- To:
- Subject: [chef-dev] A strawman to fix platform dependencies
- Date: Wed, 21 Mar 2012 14:06:15 -0700
If you weren't following the CHEF-2988 thread earlier, there was mention of
using a patch for allowed_recipes and restricted_recipes to help solve the
platform dependency situation in chef. I've been building some stuff for
windows, and I dislike adding depends "windows" to the mysql cookbook as much
as anyone.
I think the ideal solution is to allow cookbooks to depend on *resources*,
and select the cookbook with the appropriate *provider* based on platform
support, environment constraints, &c.
Anyone else had this idea? Anyone have any thoughts on why it's a bad idea?
--
http://josephholsten.com
- [chef-dev] A strawman to fix platform dependencies, Joseph Holsten, 03/21/2012
Archive powered by MHonArc 2.6.16.