summaryrefslogtreecommitdiff
path: root/lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/bootstrap/ubuntu12.04-gems.erb')
-rw-r--r--lib/chef/knife/bootstrap/ubuntu12.04-gems.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/bootstrap/ubuntu12.04-gems.erb b/lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
index 2b1e06fc13..8e9c6583d0 100644
--- a/lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
+++ b/lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
@@ -12,13 +12,13 @@ gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string %>
mkdir -p /etc/chef
-awk NF > /etc/chef/validation.pem <<'EOP'
+cat > /etc/chef/validation.pem <<'EOP'
<%= validation_key %>
EOP
chmod 0600 /etc/chef/validation.pem
<% if encrypted_data_bag_secret -%>
-awk NF > /etc/chef/encrypted_data_bag_secret <<'EOP'
+cat > /etc/chef/encrypted_data_bag_secret <<'EOP'
<%= encrypted_data_bag_secret %>
EOP
chmod 0600 /etc/chef/encrypted_data_bag_secret