Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/chef
diff options
context:
space:
mode:
authorRaphael Sofaer <raphael@joindiaspora.com>2011-02-25 23:23:38 +0300
committerRaphael Sofaer <raphael@joindiaspora.com>2011-02-25 23:23:38 +0300
commitd8d89cb6c2c54714f447f8728284e77808d98211 (patch)
tree06cafe67109e2e4cd5436c510c9c80421a5654a1 /chef
parent62b164458b2903082146d906e2dc98de30853094 (diff)
actually put in the cert bundle
Diffstat (limited to 'chef')
-rw-r--r--chef/cookbooks/centos/recipes/startcom_bundle.rb2
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