recipiez 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/recipiez/version.rb +1 -1
  2. data/recipes/ssl.rb +4 -2
  3. metadata +3 -3
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.2.8'
2
+ VERSION = '0.2.9'
3
3
  end
data/recipes/ssl.rb CHANGED
@@ -6,7 +6,7 @@ Capistrano::Configuration.instance(true).load do
6
6
  task :upload_certs do
7
7
 
8
8
  _cset :base_cert_path, "/etc/certs"
9
- _cset :ssl_cert_path, ""
9
+ _cset :ssl_certs_path, ""
10
10
  _cset :ssl_key_path, ""
11
11
 
12
12
  begin
@@ -16,7 +16,9 @@ Capistrano::Configuration.instance(true).load do
16
16
  end
17
17
 
18
18
  upload(ssl_certs_path, "cap_certs", :via => :scp, :recursive => true)
19
- sudo "cp -R cap_certs/* #{base_cert_path}"
19
+ sudo "cp -R cap_certs/certs* #{base_cert_path}"
20
+ # Clean up the cap_certs temp dir
21
+ sudo "rm -fr cap_certs"
20
22
  end
21
23
 
22
24
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recipiez
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 8
10
- version: 0.2.8
9
+ - 9
10
+ version: 0.2.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alastair Brunton