summaryrefslogtreecommitdiff
path: root/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/bootstrap/ubuntu10.04-gems.erb')
-rw-r--r--lib/chef/knife/bootstrap/ubuntu10.04-gems.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb b/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
index f5ecc5f7b9..864d790f9c 100644
--- a/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
+++ b/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
@@ -19,7 +19,7 @@ awk NF > /etc/chef/validation.pem <<'EOP'
EOP
chmod 0600 /etc/chef/validation.pem
-<% if @chef_config[:encrypted_data_bag_secret] -%>
+<% if encrypted_data_bag_secret -%>
awk NF > /etc/chef/encrypted_data_bag_secret <<'EOP'
<%= encrypted_data_bag_secret %>
EOP