recipiez 0.5.17 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.5.17'
2
+ VERSION = '0.6.0'
3
3
  end
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
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 5
8
- - 17
9
- version: 0.5.17
7
+ - 6
8
+ - 0
9
+ version: 0.6.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alastair Brunton