[chef] Re: How to target different servers/client-keys using knife?


Chronological Thread 
  • From: Joshua Timberman < >
  • To:
  • Subject: [chef] Re: How to target different servers/client-keys using knife?
  • Date: Tue, 19 Oct 2010 17:42:44 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

On Oct 19, 2010, at 4:34 PM, Mike Williams wrote:

> On 20/10/2010, at 06:20 , Alex Soto wrote:
> 
>> I also have my knife config determine what branch I'm on and configure the 
>> knife client to communicate with the corresponding server, setup correct 
>> keys, etc.
> 
> That sounds interesting.  How do you do that?  Have you got any code you 
> can share?


I do it with this knife.rb for my local environment:

http://gist.github.com/626377



- -- 
Opscode, Inc
Joshua Timberman, Technical Evangelist
IRC, Skype, Twitter, Github: jtimberman

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iEYEARECAAYFAky+LPQACgkQO97WSdVpzT0FKgCgmmwttxNKGi+92ZRf6NB/gqVg
Q/0AnR5fVH1ZV34atPFCWNxG2XZGI9ot
=ZzE4
-----END PGP SIGNATURE-----



Archive powered by MHonArc 2.6.16.

§