recipiez 0.5.17 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
|