lib/chef/knife/bootstrap/ubuntu10.04-gems.erb in chef-0.10.4 vs lib/chef/knife/bootstrap/ubuntu10.04-gems.erb in chef-0.10.6.beta.1

- old
+ new

@@ -23,9 +23,19 @@ EOP ) > /tmp/validation.pem awk NF /tmp/validation.pem > /etc/chef/validation.pem rm /tmp/validation.pem +<% if @chef_config[:encrypted_data_bag_secret] -%> +( +cat <<'EOP' +<%= encrypted_data_bag_secret %> +EOP +) > /tmp/encrypted_data_bag_secret +awk NF /tmp/encrypted_data_bag_secret > /etc/chef/encrypted_data_bag_secret +rm /tmp/encrypted_data_bag_secret +<% end -%> + ( cat <<'EOP' <%= config_content %> EOP ) > /etc/chef/client.rb