recipiez 0.5.17 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/recipiez/version.rb +1 -1
- data/recipes/apache.rb +10 -0
- metadata +3 -3
data/lib/recipiez/version.rb
CHANGED
data/recipes/apache.rb
CHANGED
@@ -75,6 +75,16 @@ Capistrano::Configuration.instance(true).load do
|
|
75
75
|
sudo "/etc/init.d/apache2 force-reload"
|
76
76
|
end
|
77
77
|
|
78
|
+
desc "upload certs"
|
79
|
+
task :upload_certs do
|
80
|
+
# this need to upload the certs .tae.gz to the server from a specified location.
|
81
|
+
# Upload to /etc/apache2/ssl
|
82
|
+
upload(ssl_certs_archive, "certs.tar.gz", :via => :scp)
|
83
|
+
sudo "mv certs.tar.gz /etc/apache2/ssl/"
|
84
|
+
sudo "tar zxvf /etc/apache2/ssl/certs.tar.gz"
|
85
|
+
puts "All done!"
|
86
|
+
end
|
87
|
+
|
78
88
|
|
79
89
|
end
|
80
90
|
|