kitchen-ansible 0.0.36 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9617210fbf8c1839bc92c847c36f63295ae81ff3
4
- data.tar.gz: 8f0a2209b0f4714aa17ee71f739175ab121e93f2
3
+ metadata.gz: 1f09fb99f43579de9d4bd99f7255cdcf43736c15
4
+ data.tar.gz: 062fec9be67fa206a6308f667c46d18109d586bc
5
5
  SHA512:
6
- metadata.gz: 7de0292f5216051db44474734ed4fbc6160bda4a6551c2174fa2b2f5459cf96b2d3cbbc2dad8f041f8531deb8516ec9946c9da6ef385c44497995ed8fc824e65
7
- data.tar.gz: 6176571072fd4694e83ef4469097b0357cd43a4073da6dde2d73c30ae4b14af44d3b1b9356445eb0fb1b899e84a4e1a2b1f4050aa521158700541de41d651b6e
6
+ metadata.gz: 5e4442e64dcd026461e2eba9a7ee8233c13aa57207ce193c42b4f66cd0c79bd215f38be9a15aecdb615d7bd9c425459283dab1e64e3fbee3c019462d7530773d
7
+ data.tar.gz: cc31c784af3850672b0bf19149c1ee106631569ceb2da9ad40a632788a982e5909f82543b06a7e6fcf2bc55934d2e177de462839eddf6d80bb2e951dd0f1b648
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Kitchen
3
3
  module Ansible
4
- VERSION = '0.0.36'
4
+ VERSION = '0.0.37'
5
5
  end
6
6
  end
@@ -28,8 +28,7 @@ module Kitchen
28
28
  class Config
29
29
  include Kitchen::Configurable
30
30
 
31
- attr_writer :instance
32
- attr_reader :instance
31
+ attr_accessor :instance
33
32
 
34
33
  default_config :ansible_sudo, true
35
34
  default_config :ansible_verbose, false
@@ -352,7 +352,7 @@ module Kitchen
352
352
  <<-INSTALL
353
353
  if [ ! -d #{config[:root_path]}/ansible ]; then
354
354
  if [ -f /etc/centos-release ] || [ -f /etc/redhat-release ]; then
355
- #{install_epel_repo}
355
+ #{Kitchen::Provisioner::Ansible::Os::Redhat.new('redhat', config).install_epel_repo}
356
356
  #{update_packages_redhat_cmd}
357
357
  #{sudo_env('yum')} -y install libselinux-python python2-devel git python-setuptools python-setuptools-dev
358
358
  else
@@ -579,6 +579,10 @@ module Kitchen
579
579
  Kitchen::Provisioner::Ansible::Os::Redhat.new('redhat', config).update_packages_command
580
580
  end
581
581
 
582
+ def python_sles_repo
583
+ config[:python_sles_repo]
584
+ end
585
+
582
586
  def extra_vars
583
587
  bash_vars = config[:extra_vars]
584
588
  if config.key?(:attributes) && config[:attributes].key?(:extra_vars) && config[:attributes][:extra_vars].is_a?(Hash)
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.0.36
4
+ version: 0.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neill Turner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-29 00:00:00.000000000 Z
11
+ date: 2016-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen