On Mar 22, 2012, at 7:59 AM, Ringo De Smet <
">
> wrote:
Are you saying cookbooks should support a structure like this: mysql/ cookbooks/ default.rb ubuntu/ default.rb windows/ default.rb My first thought is that it would lead to a lot of repetition, but you could probably handle that with judicious use of definitions, libraries and lwrps. My main objection is that my coworkers regularly get confused by that structure in files and templates. Beyond that, we've gotten to a ridiculous point in some recipes, saying: case platform when 'redhat', 'centos', 'scientific', 'oracle', 'fedora', 'amazon' ... I'd hate to see that reflected in file structure. -- |
Archive powered by MHonArc 2.6.16.