diff options
author | Sean Horn <sean_horn@opscode.com> | 2013-03-14 12:04:45 -0400 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-05-24 08:05:56 -0700 |
commit | 663c7dafdbdf833af331c7a1758af990fa7834be (patch) | |
tree | b41a6ce0a53ceb486c394dc706b0eae192e546d7 /lib/chef/knife/bootstrap/fedora13-gems.erb | |
parent | b70b8b8ea51a2403520ff530cd4a3c1480559245 (diff) | |
download | chef-663c7dafdbdf833af331c7a1758af990fa7834be.tar.gz |
[CHEF-3471] awk not needed for bootstrap templates
Diffstat (limited to 'lib/chef/knife/bootstrap/fedora13-gems.erb')
-rw-r--r-- | lib/chef/knife/bootstrap/fedora13-gems.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/bootstrap/fedora13-gems.erb b/lib/chef/knife/bootstrap/fedora13-gems.erb index c4073aef55..0aabc31085 100644 --- a/lib/chef/knife/bootstrap/fedora13-gems.erb +++ b/lib/chef/knife/bootstrap/fedora13-gems.erb @@ -10,13 +10,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 |