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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7611ddb8156461ce9f44ae3f7b7b35a4a3f65c0a
4
- data.tar.gz: 9828db7b00b3e44662f8cbbbed4c543ba26941a8
3
+ metadata.gz: fc919b62baa61b77c95fbc37adb7cf5dd605c191
4
+ data.tar.gz: 36e39c1a7c4e05714e158bce508cc6e14ec820f1
5
5
  SHA512:
6
- metadata.gz: 20e04751d1c0820a1c05c6c4d62433c2bde608f0b2ea839e4314f1c9e2aa473fbea85e912958b3dd0599b0d53897c01145b18c5dbdc9fb56e0000c75cdd9db06
7
- data.tar.gz: 9e6ce0e293dee1d45b71ce765ca90abf2615ad1a31229d85122a2e025656c55cdbf6b37445835945e732b0f0ba1b3445bf3260d65ad1173d3890b102b4095315
6
+ metadata.gz: 7d16f37d4d3b0ba4f707921b76b3cd82270ed65cdfcac00bae9814cbd2bd48b7a0a14e1bbf91cf91aa72fa60af57c2827e4e5004695257f15cd3a839bbec6d9c
7
+ data.tar.gz: a9228618e4e6a0e0683505e35a1d80fd6f7924302430046b45de959e6bc430ddd75eb16df366981609c536ed183d274fa37c4f68b6c89c77acd123d08cec8406
@@ -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
- key = fetch(:ssh_options)[:keys].first
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
- execute "rsync -avzk --delete -e 'ssh -i #{key}' #{lkitchen} #{user}@#{host}:#{fetch(:chef_upload_location)}"
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
@@ -1,3 +1,3 @@
1
1
  module Toquen
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
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.5
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-07-21 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano