- From: Martin Smith <
>
- To: "
" <
>
- Subject: [chef] RE: Test kitchen defaults
- Date: Fri, 31 Oct 2014 15:49:45 +0000
- Accept-language: en-US
Hi Jeff,
I submitted a PR recently to allow us to feed arbitrary JSON data into the
generator cookbooks, just like we already can with the chef-client:
https://github.com/opscode/chef-dk/pull/211
I think it would enable your use case, as you could feed in some arbitrary
platform data and have the generator cookbook act accordingly. Our use case
is similar -- we want to branch our generator logic based on input from the
user running the command. Right now, the only inputs are hard-coded.
Cheers,
- Martin B. Smith,
________________________________________
From: Jeff MacDonald
Sent: Friday, October 31, 2014 8:05 AM
To:
Subject: [chef] Test kitchen defaults
Hi,
I get a .kitchen.yml file when ever I run ‘chef generate cookbook foo’.
Almost every time I end up wanting to edit that file. Is there a way to set
some defaults, ie for platforms and what not?
Thanks!
jeff.
Archive powered by MHonArc 2.6.16.