recipiez 0.2.2 → 0.2.3
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 +1 -11
- metadata +4 -4
data/lib/recipiez/version.rb
CHANGED
data/recipes/ssl.rb
CHANGED
@@ -14,18 +14,8 @@ Capistrano::Configuration.instance(true).load do
|
|
14
14
|
rescue
|
15
15
|
# ignore
|
16
16
|
end
|
17
|
-
|
18
|
-
put File.read(ssl_cert_path), File.basename(ssl_cert_path)
|
19
|
-
put File.read(ssl_key_path), File.basename(ssl_key_path)
|
20
17
|
|
21
|
-
|
22
|
-
put File.read(ssl_chain_path), File.basename(ssl_chain_path)
|
23
|
-
sudo "mv #{File.basename(ssl_chain_path)} #{base_cert_path}/#{File.basename(ssl_chain_path)}"
|
24
|
-
end
|
25
|
-
|
26
|
-
sudo "mv #{File.basename(ssl_cert_path)} #{base_cert_path}/#{File.basename(ssl_cert_path)}"
|
27
|
-
sudo "mv #{File.basename(ssl_key_path)} #{base_cert_path}/#{File.basename(ssl_key_path)}"
|
28
|
-
|
18
|
+
upload(ssl_certs_path, base_cert_path, :via => :scp, :recursive => true)
|
29
19
|
end
|
30
20
|
|
31
21
|
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: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 3
|
10
|
+
version: 0.2.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alastair Brunton
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-03-27 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|