Thanks, but I was under the impression that the bootstrap (even the default template) will do this for me, using the same process it does to copy the validator.pem
locally to the node. I see this in the chef-full.erb file <% if encrypted_data_bag_secret -%> cat > /etc/chef/encrypted_data_bag_secret <<'EOP' <%= encrypted_data_bag_secret %> EOP chmod 0600 /etc/chef/encrypted_data_bag_secret <% end -%> Chris From: Tiago Cruz [mailto:
You need to scp the file to your node at /etc/chef/encrypted_data_bag_secret On Wed, Jan 21, 2015 at 6:09 PM, Fouts, Chris <
" target="_blank">
> wrote: I have this in my knife.rb file …….
validation_key "#{current_dir}/validator.pem"
encrypted_data_bag_secret “#{current_dir}/encrypted_data_bag_secret”
…….
The knife.rb, validator.pem, and encrypted_data_bag_secret files are in <some_path>/.chef directory.
Chris
From: Daniel Condomitti [mailto:
" target="_blank">
]
Are you using a custom bootstrap template? Check your template to ensure that your template includes the encrypted_data_bag_secret logic https://github.com/opscode/chef/blob/master/lib/chef/knife/bootstrap/chef-full.erb#L46 Is the correct path being used in your knife config? On Wednesday, January 21, 2015 at 2:38 PM, Fouts, Chris wrote:
-- -- Tiago Cruz |
Archive powered by MHonArc 2.6.16.