- From: Matt Whiteley <
>
- To:
- Subject: [chef] Conditional dependencies
- Date: Thu, 6 Jun 2013 08:46:44 -0700
I've been searching the mailing lists and JIRA etc. for discussion related to this issue. What I have found so far seems to cover a few different use cases.
cookbook metadata should include maintainer_repository
The depends cookbook DSL should take an optional platform_family argument
Implement cookbook metadata "suggests" and "recommends"
Enforce / Implement platform "supports" in cookbook metadata
The problem that we are having occurs when a mandatory cookbook's dependencies change based on attributes. As others have described, this can cause issues of slowness or confusion when cookbooks unsupported on the client system are required. As an example, I would like to develop a cookbook that will require the MySQL or PostgreSQL cookbooks but can also ignore this dependency with an unset db_type attribute.
I didn't want to hack together something for our issue, but I'm happy to work on this if a path forward can be agreed on. I'm on irc as well as mattw.
thanks,
--
Matt Whiteley <
" target="_blank">
>
- [chef] Conditional dependencies, Matt Whiteley, 06/06/2013
Archive powered by MHonArc 2.6.16.