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 '#{<