cloudstrap 0.49.1.pre → 0.49.2.pre

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: fe2a6aecc992dba7d8ae3e7cea153ed4697b112f
4
- data.tar.gz: 82e307e1cb7911b2a99f7e744df211f66918b982
3
+ metadata.gz: fb16fe2742d558b6b7013c29a446ef7b4f93aa96
4
+ data.tar.gz: bc71f34ffff076d8e759fe681270584bd8192d0e
5
5
  SHA512:
6
- metadata.gz: 24ba59a8b14d156b3936199aceb4be819c1a1949d773b8b2a20630e0b9e10985e96378e111abc778d15a84dde5fc8b3062bfc8d37050e787cb072a9df8c64c65
7
- data.tar.gz: 9cb5aa5f40d1cc0f2bf086338bb5c7c6256c86f97dbdfeb94cccdcd10d20fec42c470d71f6f4518a2ee8fb0f7608d5a8ce3a168b221ff9ed1cfb9f712fb9e354
6
+ metadata.gz: 460336d600201f41f719ad86d38b6bfbcbec8db280b370e998e848ba10a88eb1e55721fd409852ab2ba057cab945d1b1ae7d7e8eb1373ba98bd6d3b0961b906e
7
+ data.tar.gz: 9f72f34fd074af15fa005ce498fcc49a89272b22c8dad8518f4653a358a82771ca4f8d59c6aabc75b0ad3b79076704ff5224cb79f230d1c97b0b22cc781a7303
@@ -438,7 +438,7 @@ module Cloudstrap
438
438
  package = config.hcp_package_url
439
439
 
440
440
  hooking(:setup) do
441
- ssh.to(jumpbox_ip) do
441
+ ssh.to(jumpbox_ip).each do
442
442
  '/home/ubuntu/.ssh/id_rsa'.tap do |target|
443
443
  execute :rm, '-f', target
444
444
  upload! private_key, target
@@ -21,9 +21,9 @@ module Cloudstrap
21
21
  self
22
22
  end
23
23
 
24
- Contract String, Proc => Any
24
+ Contract String, Maybe[Proc] => Any
25
25
  def to(host, &block)
26
- ::SSHKit::Coordinator.new("#{config.ssh_username}@#{host}").each(&block)
26
+ ::SSHKit::Coordinator.new("#{config.ssh_username}@#{host}")
27
27
  end
28
28
 
29
29
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.1.pre
4
+ version: 0.49.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Olstrom