recipiez 0.2.8 → 0.2.9
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/ssl.rb +4 -2
- metadata +3 -3
data/lib/recipiez/version.rb
CHANGED
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 :
|
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
|
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:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 9
|
10
|
+
version: 0.2.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alastair Brunton
|