[chef] Re: Re: Re: Predefining "knife bootstrap" parameters


Chronological Thread 
  • From: Jay Feldblum < >
  • To:
  • Subject: [chef] Re: Re: Re: Predefining "knife bootstrap" parameters
  • Date: Tue, 27 Dec 2011 19:24:24 -0500

Yes, in your knife.rb:

knife[:distro] ||= "ubuntu11.04-gems"
knife[:environment] ||= "production"

On Tue, Dec 27, 2011 at 5:39 AM, Steffen Gebert < "> > wrote:
Thanks for your response, Sahil!
Will do so, too.

Steffen

On 26.12.2011, at 23:07, "> wrote:

> I just found it easier to write some bash wrapper scripts in my chef-repo directory.
>
> On Dec 26, 2011 1:52 PM, < "> > wrote:
> Dear list,
>
> is there a way to configure some default arguments for the `knife bootstrap`
> command?
>
> Things like --environment or --distro, which are always/usually the same..
>
> Thanks for your help!
> Steffen





Archive powered by MHonArc 2.6.16.

§