diff options
author | Raphael Sofaer <raphael@joindiaspora.com> | 2011-02-25 23:23:38 +0300 |
---|---|---|
committer | Raphael Sofaer <raphael@joindiaspora.com> | 2011-02-25 23:23:38 +0300 |
commit | d8d89cb6c2c54714f447f8728284e77808d98211 (patch) | |
tree | 06cafe67109e2e4cd5436c510c9c80421a5654a1 /chef | |
parent | 62b164458b2903082146d906e2dc98de30853094 (diff) |
actually put in the cert bundle
Diffstat (limited to 'chef')
-rw-r--r-- | chef/cookbooks/centos/recipes/startcom_bundle.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/cookbooks/centos/recipes/startcom_bundle.rb b/chef/cookbooks/centos/recipes/startcom_bundle.rb index 5214ee249..ce69abf3e 100644 --- a/chef/cookbooks/centos/recipes/startcom_bundle.rb +++ b/chef/cookbooks/centos/recipes/startcom_bundle.rb @@ -7,7 +7,7 @@ execute 'back up cert bundle' do end execute 'add startcom cert' do - command 'mv /etc/pki/tls/certs/ca-bundle.crt /etc/pki/tls/certs/ca-bundle.crt.bak' + command 'cat /etc/pki/tls/certs/ca-bundle.crt.bak /etc/pki/tls/certs/startcom-cert.crt > /etc/pki/tls/certs/ca-bundle.crt' not_if "cat /etc/pki/tls/certs/ca-bundle.crt | grep '#{<<LINE_FROM_CERT J/eUsTc9t8eR9+IB7P2UieHMbtM21goZea7XNIJl/3xCu7bdC6Y0r0tg/n9DSQaL jEO4VvLZfyFDF+qnSJUBdXXqK6VDleoVhJ0IjSZuVZur3NI50jEdYOKszFZFJPUc |