- From: Joshua Timberman <
>
- To: "
" <
>
- Subject: [chef] moneta breaking all deployments
- Date: Mon, 24 Dec 2012 17:03:14 +0000
- Accept-language: en-US
Ohai,
On 12/24/12 8:13 AM, "Maven User"
<
>
wrote:
>
Jesse- We're using Ubuntu 12.04:
>
>
-d ubuntu12.04-gems
>
>
How do I do what you're talking about - a custom bootstrap script?
>
>
http://wiki.opscode.com/display/chef/Custom+Knife+Bootstrap+Script
>
>
It's not clear how to specify the gem I'd like (or how I get this file on
>
the the machine I'm bootsrapping)....
You copy the bootstrap template from the Chef gem directory on your local
workstation system to ~/.chef/bootstrap. The location depends on your
installation method on the local system. You can use the "gem which"
command. For example, in my rbenv installation of Chef:
% gem which chef/knife
/Users/jtimberman/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/chef-
10.16.2/lib/chef/knife.rb
There's a "knife/bootstrap" directory under lib/chef there. Under an
"omnibus" installation of Chef:
% /opt/chef/embedded/bin/gem which chef/knife
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/knife.rb
Copy the bootstrap template file from the knife/bootstrap directory, then,
modify it as you need. It's a shell script with some embedded Ruby for
helpers from knife and your knife.rb.
Alternately, you could try the 'chef-full' template, which is the default,
and it installs the Omnibus package of Chef, and shouldn't have this
problem at all since it is built with moneta 0.6.0.
Cheers,
joshua
- [chef] moneta breaking all deployments, Maven User, 12/24/2012
- [chef] Re: moneta breaking all deployments, Mike, 12/24/2012
- Message not available
- [chef] Re: moneta breaking all deployments, Steven De Coeyer, 12/24/2012
- [chef] Re: Re: moneta breaking all deployments, Maven User, 12/24/2012
- [chef] Re: Re: moneta breaking all deployments, Maven User, 12/24/2012
- [chef] Re: Re: Re: moneta breaking all deployments, Jesse Campbell, 12/24/2012
- [chef] Re: Re: Re: Re: moneta breaking all deployments, Maven User, 12/24/2012
- [chef] moneta breaking all deployments, Joshua Timberman, 12/24/2012
- [chef] Re: moneta breaking all deployments, Maven User, 12/24/2012
- [chef] Re: moneta breaking all deployments, Maven User, 12/24/2012
- [chef] Re: moneta breaking all deployments, Joshua Timberman, 12/24/2012
- [chef] Re: Re: moneta breaking all deployments, Maven User, 12/24/2012
- [chef] Re: Re: Re: moneta breaking all deployments, Joshua Timberman, 12/24/2012
- [chef] Re: Re: Re: Re: moneta breaking all deployments, Maven User, 12/24/2012
- [chef] Re: Re: Re: Re: moneta breaking all deployments, Maven User, 12/24/2012
- [chef] Re: Re: Re: Re: moneta breaking all deployments, Maven User, 12/24/2012
- [chef] Re: Re: Re: Re: Re: moneta breaking all deployments, Erik Hollensbe, 12/24/2012
- [chef] Re: Re: Re: Re: Re: Re: moneta breaking all deployments, Peter Donald, 12/26/2012
Archive powered by MHonArc 2.6.16.