kitchen-yansible-pusher 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 9a2316e28c56274be79097ab094b02f9b220e41d7556439debb14a4535949dbf
4
- data.tar.gz: b1a4322de10f2d04c10fdeba522a82df2dd85b44438126142ba1283bce8c5957
3
+ metadata.gz: 9c2b21b1b1384736127c873d59e0466836e57f8fac7847040048be7a6bb9d7c1
4
+ data.tar.gz: c89fc1163a3674d93201650ef24f99c2e8b33edc6ad81cc93a7f299422c5531b
5
5
  SHA512:
6
- metadata.gz: 6a0a926457d832c0c99edcdd3280442597d5cbbc8a4cefa7f9b9b9f37a70f933a08437841603b1f6293d51b5aaf40cd42d258cc93c777420d64bbd461bb727bb
7
- data.tar.gz: 87486c0d630a812f65933bb05f4beea0b210c972528ea21cfc3b984823d0109dcb77714a790cc53082e9a8a60e6c8223c6b9ad990035200f501626b016c80e6f
6
+ metadata.gz: b7d78b75e17df46a1767a184b7122c42dbf9b27b1edb4498588d3c86d6a695c4aed06d2cea7e65f59d2dbbd02b6bbf9a2d065806424a22be2b53b2a879c9e7d1
7
+ data.tar.gz: 3408cc60e8ebdc4f913ec4e20999fd9049d2ddd00ec1788b656482599d64f05f384fe59cdacc11fc7eb4215a5647a6d7abe69d240819b95b9b605813c274a34c
@@ -148,10 +148,12 @@ module Kitchen
148
148
  state = instance.transport.instance_variable_get(:@connection_options)
149
149
  cmd << "--private-key #{state[:keys][0]}"
150
150
  end
151
+ cmd
151
152
  end
152
153
 
153
154
  def ansible_use_vault_password_file(cmd)
154
- cmd << "--vault-password-file #{config[:vault_password_file]}" if config[:vault_password_file]
155
+ cmd << "--vault-password-file #{config[:vault_password_file]}" unless config[:vault_password_file].nil?
156
+ cmd
155
157
  end
156
158
 
157
159
  def ansible_verbosity(cmd)
@@ -3,7 +3,7 @@
3
3
  module Kitchen
4
4
  module Yansible
5
5
  module Pusher
6
- VERSION = "0.1.2"
6
+ VERSION = "0.1.3"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-yansible-pusher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose M. Tobar