kitchen-ansible 0.0.6 → 0.0.7

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.
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module Ansible
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
@@ -138,6 +138,7 @@ module Kitchen
138
138
  info("Installing ansible on #{ansible_platform}")
139
139
  <<-INSTALL
140
140
  if [ ! $(which ansible) ]; then
141
+ #{update_packages_debian_cmd}
141
142
  ## Install apt-utils to silence debconf warning: http://serverfault.com/q/358943/77156
142
143
  #{sudo('apt-get')} -y install apt-utils
143
144
  ## Fix debconf tty warning messages
@@ -150,7 +151,6 @@ module Kitchen
150
151
  # #{sudo('dpkg')} -i #{ansible_apt_repo_file}
151
152
  # #{sudo('apt-get')} -y autoremove ## These autoremove/autoclean are sometimes useful but
152
153
  # #{sudo('apt-get')} -y autoclean ## don't seem necessary for the Ubuntu OpsCode bento boxes that are not EOL by Canonical
153
- # #{update_packages_debian_cmd}
154
154
  # #{sudo('apt-get')} -y --force-yes install ansible#{ansible_debian_version} python-selinux
155
155
  ## 10.04 version of add-apt-repository doesn't accept --yes
156
156
  ## later versions require interaction from user, so we must specify --yes
@@ -183,6 +183,7 @@ module Kitchen
183
183
  #{update_packages_redhat_cmd}
184
184
  #{sudo('yum')} -y install ansible#{ansible_redhat_version} libselinux-python
185
185
  else
186
+ #{update_packages_debian_cmd}
186
187
  ## Install apt-utils to silence debconf warning: http://serverfault.com/q/358943/77156
187
188
  #{sudo('apt-get')} -y install apt-utils
188
189
  ## Fix debconf tty warning messages
@@ -195,7 +196,6 @@ module Kitchen
195
196
  # #{sudo('dpkg')} -i #{ansible_apt_repo_file}
196
197
  # #{sudo('apt-get')} -y autoremove ## These autoremove/autoclean are sometimes useful but
197
198
  # #{sudo('apt-get')} -y autoclean ## don't seem necessary for the Ubuntu OpsCode bento boxes that are not EOL by Canonical
198
- # #{update_packages_debian_cmd}
199
199
  # #{sudo('apt-get')} -y --force-yes install ansible#{ansible_debian_version} python-selinux
200
200
  ## 10.04 version of add-apt-repository doesn't accept --yes
201
201
  ## later versions require interaction from user, so we must specify --yes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-ansible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-20 00:00:00.000000000 Z
12
+ date: 2015-01-27 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! '== DESCRIPTION:
15
15