toquen 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/toquen/capistrano.rb +3 -2
- data/lib/toquen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc919b62baa61b77c95fbc37adb7cf5dd605c191
|
4
|
+
data.tar.gz: 36e39c1a7c4e05714e158bce508cc6e14ec820f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d16f37d4d3b0ba4f707921b76b3cd82270ed65cdfcac00bae9814cbd2bd48b7a0a14e1bbf91cf91aa72fa60af57c2827e4e5004695257f15cd3a839bbec6d9c
|
7
|
+
data.tar.gz: a9228618e4e6a0e0683505e35a1d80fd6f7924302430046b45de959e6bc430ddd75eb16df366981609c536ed183d274fa37c4f68b6c89c77acd123d08cec8406
|
data/lib/toquen/capistrano.rb
CHANGED
@@ -40,7 +40,7 @@ task :update_kitchen do
|
|
40
40
|
kitchen = "#{fetch(:chef_upload_location)}/kitchen"
|
41
41
|
lkitchen = "/tmp/toquen/kitchen"
|
42
42
|
user = fetch(:ssh_options)[:user]
|
43
|
-
|
43
|
+
keys = fetch(:ssh_options)[:keys]
|
44
44
|
|
45
45
|
run_locally do
|
46
46
|
info "Building kitchen locally..."
|
@@ -64,7 +64,8 @@ task :update_kitchen do
|
|
64
64
|
on roles(:all), in: :parallel do |host|
|
65
65
|
run_locally do
|
66
66
|
info "Sending kitchen to #{host}..."
|
67
|
-
|
67
|
+
keyoptions = keys.map { |key| "-i #{key}" }.join(' ')
|
68
|
+
execute "rsync -avzk --delete -e 'ssh #{keyoptions}' #{lkitchen} #{user}@#{host}:#{fetch(:chef_upload_location)}"
|
68
69
|
end
|
69
70
|
end
|
70
71
|
end
|
data/lib/toquen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toquen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Muller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|