kitchen-ansible 0.42.1 → 0.42.2

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: 082174514a49093fc2d0eaa3e0965b6901344373
4
- data.tar.gz: ed44a7480a33a1dbaf968f1cfc85b53caf66e472
3
+ metadata.gz: aafda8ea9f64e9ab751a5e91275a7a69ae5fdd18
4
+ data.tar.gz: b99f6a66675df4ac8e7a9d57966bba4e070bc871
5
5
  SHA512:
6
- metadata.gz: 881b5340324bcfe44adfb41cd734b6a82eb9a94008ef366db11a8c33d91c36257d3e8e5cd539f688f25a2f6662b9ec856382122c27f7e6aa624ead59bfc2fa38
7
- data.tar.gz: bc882c180a95814be653696e0a5c627fe164d64a38b017b91e31c96db20f0fe19c8d4ed4f5be480e1405b0938eaf9228eca3edf67d87861f3d43ffe2976885fc
6
+ metadata.gz: 59c27fb121d19301413cc2d0a1e9d0ff2e5d7cbb5d9f7bc724836de427df548ec732f22b05e8774b0372af3bd3fbaf4ccf32ed95ee7cb0b30b89b79ff2cee184
7
+ data.tar.gz: 396cf31196f4d6a56971bfbca3836085bf036ed6b81fd85bdc1b84c3642a536e55a9e9a486d108fb50d45e5817c0c449093011a467459bc1c8fd40476628d213
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Kitchen
3
3
  module Ansible
4
- VERSION = '0.42.1'
4
+ VERSION = '0.42.2'
5
5
  end
6
6
  end
@@ -27,7 +27,11 @@ module Kitchen
27
27
  end
28
28
 
29
29
  def ansible_debian_version
30
- @config[:ansible_version] ? "=#{@config[:ansible_version]}" : nil
30
+ if @config[:ansible_version] == 'latest' || @config[:ansible_version] == nil
31
+ ''
32
+ else
33
+ "=#{@config[:ansible_version]}"
34
+ end
31
35
  end
32
36
 
33
37
  def install_command
@@ -46,7 +46,7 @@ module Kitchen
46
46
  if @config[:ansible_version] == 'latest' || @config[:ansible_version] == nil
47
47
  "ansible"
48
48
  else
49
- "ansible-#{@config[:ansible_version]}"
49
+ "ansible#{@config[:ansible_version][0..2]}-#{@config[:ansible_version]}"
50
50
  end
51
51
  end
52
52
 
@@ -585,7 +585,11 @@ module Kitchen
585
585
  end
586
586
 
587
587
  def ansible_debian_version
588
- config[:ansible_version] ? "=#{config[:ansible_version]}" : nil
588
+ if @config[:ansible_version] == 'latest' || @config[:ansible_version] == nil
589
+ ''
590
+ else
591
+ "=#{@config[:ansible_version]}"
592
+ end
589
593
  end
590
594
 
591
595
  def ansible_connection_flag
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-ansible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.1
4
+ version: 0.42.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neill Turner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-03 00:00:00.000000000 Z
11
+ date: 2016-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen