- From: Noah Kantrowitz <
>
- To:
- Subject: [chef] Re: Using kitchen override/stub a cookbook
- Date: Thu, 6 Aug 2015 13:54:21 -0700
On Aug 6, 2015, at 1:50 PM, Bill Warner
<
>
wrote:
>
I am trying to setup testing with kitchen and docker, some cookbooks like
>
the supermarket "hostname" cookbook are not compatible with docker but they
>
are used in my final deployments. I'd like to stub these out just for when
>
kitchen docker is used to speed up early testing but not when vagrant or
>
doing a berks install.
>
>
I thought I'd use groups in my Berksfile, but that would still try to
>
upload/install the stub cookbook to my chef server while doing a berks
>
install unless i specify a -e docker_integration, and Berksfile doesn't
>
seem to be processed by erb.
>
>
I was unable to find anywhere in the .kitchen.yml file where I could
>
override a single cookbook, or a way to have it not process a cookbook.
Use a wrapper cookbook that only include_recipe-s the real one if you aren't
on Docker.
--Noah
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
- [chef] Using kitchen override/stub a cookbook, Bill Warner, 08/06/2015
- [chef] Re: Using kitchen override/stub a cookbook, Noah Kantrowitz, 08/06/2015
- [chef] Re: Re: Using kitchen override/stub a cookbook, Yauhen Artsiukhou, 08/07/2015
- [chef] Re: Re: Re: Using kitchen override/stub a cookbook, Bill Warner, 08/07/2015
- [chef] Re: Re: Re: Re: Using kitchen override/stub a cookbook, Daniel DeLeo, 08/07/2015
- [chef] Re: Re: Re: Re: Re: Using kitchen override/stub a cookbook, Bill Warner, 08/07/2015
- [chef] Re: Re: Re: Re: Re: Re: Using kitchen override/stub a cookbook, Damien Roche, 08/07/2015
- [chef] Does Chef have support for multi-boot install, Jubal Kohlmeier, 08/09/2015
- [chef] Re: Does Chef have support for multi-boot install, Joshua Timberman, 08/10/2015
- [chef] RE: Re: Does Chef have support for multi-boot install, Fouts, Chris, 08/12/2015
- [chef] Re: RE: Re: Does Chef have support for multi-boot install, Nathan Williams, 08/12/2015
- [chef] RE: Re: RE: Re: Does Chef have support for multi-boot install, Fouts, Chris, 08/13/2015
Archive powered by MHonArc 2.6.16.