[chef] Re: Re: Re: struggling getting started


Chronological Thread 
  • From: Adam Jacob < >
  • To:
  • Subject: [chef] Re: Re: Re: struggling getting started
  • Date: Thu, 19 May 2011 14:26:10 -0700

On Thu, May 19, 2011 at 2:21 PM, Craig White 
< >
 wrote:
> I think so...
> $ cat ~/chef-repo/.chef/knife.rb
> current_dir = File.dirname(__FILE__)
> log_level                :info
> log_location             STDOUT
> node_name                "white_n_az"
> client_key               "#{current_dir}/white_n_az.pem"
> validation_client_name   "tti-validator"
> validation_key           "#{current_dir}/tti-validator.pem"
> chef_server_url          "https://api.opscode.com/organizations/tti";
> cache_type               'BasicFile'
> cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
> cookbook_path            ["#{current_dir}/../cookbooks"]
> The 2 'pem' files referenced in knife.rb are indeed in the same .chef
> directory and they both seem correct...
>  :~/chef-repo/.chef$
>  head -n 1 tti-validator.pem
> -----BEGIN RSA PRIVATE KEY-----
>  :~/chef-repo/.chef$
>  head -n 1 white_n_az.pem
> -----BEGIN RSA PUBLIC KEY-----
>  :~/chef-repo/.chef$
>  tail -n 1 tti-validator.pem
> -----END RSA PRIVATE KEY-----
>  :~/chef-repo/.chef$
>  tail -n 1 white_n_az.pem
> -----END RSA PUBLIC KEY-----

Your personal key should be a private key - where did the public key
white_n_az.pem come from?

If you're using the opscode platform, you likely need to re-generate
your personal key:

http://help.opscode.com/kb/account/getting-a-new-private-key-for-your-opscode-user

Adam

-- 
Opscode, Inc.
Adam Jacob, Chief Product Officer
T: (206) 619-7151 E: 




Archive powered by MHonArc 2.6.16.

§