- From: Hector Castro <
>
- To:
- Subject: [chef] Re: Re: custom bootstrap script with custom client.rb
- Date: Fri, 21 Dec 2012 09:49:09 -0500
For a better idea of what some of the method calls in the template map
to, take a look at the bootstrap context:
https://github.com/opscode/chef/blob/master/lib/chef/knife/core/bootstrap_context.rb
https://github.com/opscode/chef/blob/master/lib/chef/knife/bootstrap/chef-full.erb
--
Hector
On Fri, Dec 21, 2012 at 3:14 AM, Vladimir Girnet
<
>
wrote:
>
What's the real problem? Can you give an example?
>
Have you looked at knife bootstrap scripts?
>
>
You can take required script and customize it as required. Place it in
>
".chef/bootstrap/my_bootstrap.rb" and call via "knife bootstrap -d
>
my_bootstrap ..."
>
>
On Dec 21, 2012, at 5:29 AM,
>
<
>
>
<
>
>
wrote:
>
>
Hi,
>
>
I am having an issue where I am creating a custom bootstrapping script, and
>
I
>
would like to pass it a custom client.rb file. In the documentation it looks
>
like this is possible, I assume I am just missing something.
>
>
Thank you!
>
>
Geoff
>
>
>
--
>
Vladimir Girnet
Archive powered by MHonArc 2.6.16.