kitchen-ansible 0.45.8 → 0.45.9

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: 82fdbc0338733ece9803eb436e18c4c7ec9696a7
4
- data.tar.gz: 6bb091fb45e32299f08a6b8a77c9af9faa0bb730
3
+ metadata.gz: d907703110316f2176215740632fc5d1a073ecd9
4
+ data.tar.gz: 49b167ff1330128ea69b26cf2f501fed53caef1e
5
5
  SHA512:
6
- metadata.gz: cecd51eb3cdc495e8d6d274c6706efc5fdbc2bbcbf0d6bec017a4ee6dca9903b033575e24dd82b1340bb3b52242c02d55fbec4dfebd7b5c97ce6591365a34cf3
7
- data.tar.gz: d2792b3e2c0acc1ce5810d8ab0bbbe99c8c8f3899a73b11880d0458487e7f74b05a2ca863e75d76fc35bf8dafe86ab39defa57da52a7cd254f0140b7553b1204
6
+ metadata.gz: e58849bea74f7c955e9d1267e14bc80aeed15f3b79c91712026fa01337595f321df2b0c0b226c8be8fa5a379d3aa95abd220e92c0030b05d70078d840dce0cb9
7
+ data.tar.gz: 8ea281c01b49201870192c0723f69343db261590318f959c53b2fb7fb637d959bceb1a58c6105986d4c6af22650b00ea5472772fae4fc29f3c3b37d9931052d2
@@ -32,7 +32,7 @@ EOF
32
32
  s.add_development_dependency 'pry'
33
33
  s.add_development_dependency 'rake'
34
34
  if RUBY_VERSION >= '2.0'
35
- s.add_dependency 'net-ssh', '~> 3.0'
35
+ s.add_dependency 'net-ssh', '~> 3'
36
36
  else
37
37
  s.add_dependency 'net-ssh', '~> 2.9'
38
38
  end
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Kitchen
3
3
  module Ansible
4
- VERSION = '0.45.8'
4
+ VERSION = '0.45.9'
5
5
  end
6
6
  end
@@ -63,6 +63,7 @@ module Kitchen
63
63
  default_config :ansible_connection, 'local'
64
64
  default_config :update_package_repos, true
65
65
  default_config :require_ansible_source, false
66
+ default_config :ansible_source_url, 'git://github.com/ansible/ansible.git'
66
67
  default_config :ansible_source_rev, nil
67
68
  default_config :http_proxy, nil
68
69
  default_config :https_proxy, nil
@@ -87,7 +87,7 @@ module Kitchen
87
87
  if [ ! $(which ansible) ]; then
88
88
  if [ -f /etc/fedora-release ]; then
89
89
  #{Kitchen::Provisioner::Ansible::Os::Fedora.new('fedora', config).install_command}
90
- elif [ `grep -q 'Amazon Linux' /etc/system-release` ]; then
90
+ elif [ -f /etc/system-release ] && [ `grep -q 'Amazon Linux' /etc/system-release` ]; then
91
91
  #{Kitchen::Provisioner::Ansible::Os::Amazon.new('amazon', config).install_command}
92
92
  elif [ -f /etc/centos-release ] || [ -f /etc/redhat-release ]; then
93
93
  #{Kitchen::Provisioner::Ansible::Os::Redhat.new('redhat', config).install_command}
@@ -452,7 +452,7 @@ module Kitchen
452
452
  fi
453
453
 
454
454
  #{export_http_proxy}
455
- git clone git://github.com/ansible/ansible.git --recursive #{config[:root_path]}/ansible #{install_source_rev}
455
+ git clone #{config[:ansible_source_url]} --recursive #{config[:root_path]}/ansible #{install_source_rev}
456
456
  #{sudo_env('easy_install')} pip
457
457
  #{sudo_env('pip')} install -U setuptools
458
458
  #{sudo_env('pip')} install six paramiko PyYAML Jinja2 httplib2
@@ -43,6 +43,7 @@ ansible_omnibus_url | `https://raw.githubusercontent.com` `/neillturner/omnibus-
43
43
  ansible_platform | Naively tries to determine | OS platform of server
44
44
  ansible_playbook_command | | Override the Ansible playbook command
45
45
  ansible_sles_repo | `http://download.opensuse.org/repositories` `/systemsmanagement/SLE_12` `/systemsmanagement.repo` | Zypper SuSE Ansible repo
46
+ ansible_source_url | `git://github.com/ansible/ansible.git` | Git URL of Ansible source
46
47
  ansible_source_rev | | Branch or tag to install Ansible source
47
48
  ansible_sudo | true | Determines whether `ansible-playbook` is executed as root or as the current authenticated user
48
49
  ansible_vault_password_file | | Path to Ansible Vault password file
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.45.8
4
+ version: 0.45.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neill Turner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-21 00:00:00.000000000 Z
11
+ date: 2017-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.0'
75
+ version: '3'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3.0'
82
+ version: '3'
83
83
  description: |+
84
84
  == DESCRIPTION:
85
85