Custom bootstrap script with custom client.rb

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

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, geoffreyowen@stratalux.com geoffreyowen@stratalux.com 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

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
vgirnet@tacitknowledge.com 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, geoffreyowen@stratalux.com
geoffreyowen@stratalux.com 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