kitchen-ansible 0.0.26 → 0.0.27
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 +4 -4
- data/README.md +0 -1
- data/lib/kitchen-ansible/version.rb +1 -1
- data/lib/kitchen/provisioner/ansible_playbook.rb +11 -0
- data/provisioner_options.md +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c4491f1745701a0e990b9cacc7a48ce49556e36
|
|
4
|
+
data.tar.gz: 5ecaaef24e5c27f0ac0de4d4a3b0ed3d50ef7bc9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a6667c7da102e8e66a9dda3ea1e3a7969c4e2f6060baf26af177c590d39901fb121dd00ded1f34be3033953b71457310fa7e694805be245eb860adfbdaef274
|
|
7
|
+
data.tar.gz: 9aa38376c4e48222cea3bd304771b301ae9e99414a141dedf8782ec6ed415b67c5a61e660c7a1c98fc8911ebe391b67deaac336e210abfa63a5f37be9aae3afd
|
data/README.md
CHANGED
|
@@ -163,7 +163,6 @@ To test different playbooks in different suites you can easily overwrite the pro
|
|
|
163
163
|
playbook: web_app.yml
|
|
164
164
|
hosts: web_application
|
|
165
165
|
```
|
|
166
|
-
|
|
167
166
|
### Alternative Virtualization/Cloud providers for Vagrant
|
|
168
167
|
This could be adapted to use alternative virtualization/cloud providers such as Openstack/AWS/VMware Fusion according to whatever is supported by Vagrant.
|
|
169
168
|
```yaml
|
|
@@ -168,6 +168,17 @@ module Kitchen
|
|
|
168
168
|
fi
|
|
169
169
|
fi
|
|
170
170
|
#{sudo_env('apt-get')} -y install $PACKAGES
|
|
171
|
+
if [ $debvers -eq 6 ]; then
|
|
172
|
+
# in squeeze we need to update alternatives
|
|
173
|
+
# for enable ruby1.9.1
|
|
174
|
+
ALTERNATIVES_STRING="--install /usr/bin/ruby ruby /usr/bin/ruby1.9.1 10 --slave /usr/share/man/man1/ruby.1.gz ruby.1.gz /usr/share/man/man1/ruby1.9.1.1.gz --slave /usr/bin/erb erb /usr/bin/erb1.9.1 --slave /usr/bin/gem gem /usr/bin/gem1.9.1 --slave /usr/bin/irb irb /usr/bin/irb1.9.1 --slave /usr/bin/rake rake /usr/bin/rake1.9.1 --slave /usr/bin/rdoc rdoc /usr/bin/rdoc1.9.1 --slave /usr/bin/testrb testrb /usr/bin/testrb1.9.1 --slave /usr/share/man/man1/erb.1.gz erb.1.gz /usr/share/man/man1/erb1.9.1.1.gz --slave /usr/share/man/man1/gem.1.gz gem.1.gz /usr/share/man/man1/gem1.9.1.1.gz --slave /usr/share/man/man1/irb.1.gz irb.1.gz /usr/share/man/man1/irb1.9.1.1.gz --slave /usr/share/man/man1/rake.1.gz rake.1.gz /usr/share/man/man1/rake1.9.1.1.gz --slave /usr/share/man/man1/rdoc.1.gz rdoc.1.gz /usr/share/man/man1/rdoc1.9.1.1.gz --slave /usr/share/man/man1/testrb.1.gz testrb.1.gz /usr/share/man/man1/testrb1.9.1.1.gz"
|
|
175
|
+
#{sudo_env('update-alternatives')} $ALTERNATIVES_STRING
|
|
176
|
+
# need to update gem tool because gem 1.3.7 from ruby 1.9.1 is broken
|
|
177
|
+
#{sudo_env('gem')} install rubygems-update
|
|
178
|
+
#{sudo_env('/var/lib/gems/1.9.1/bin/update_rubygems')}
|
|
179
|
+
# clear local gem cache
|
|
180
|
+
#{sudo_env('rm')} -r /home/vagrant/.gem
|
|
181
|
+
fi
|
|
171
182
|
fi
|
|
172
183
|
fi
|
|
173
184
|
INSTALL
|
data/provisioner_options.md
CHANGED
|
@@ -8,10 +8,11 @@ ansible_sudo | true | drives whether ansible-playbook is executed as root or as
|
|
|
8
8
|
ansible_platform | naively tries to determine | OS platform of server
|
|
9
9
|
require_ansible_repo | true | Set if using a ansible install from yum or apt repo
|
|
10
10
|
ansible_apt_repo | "ppa:ansible/ansible" | apt repo. see https://launchpad.net /~ansible/+archive/ubuntu/ansible or rquillo/ansible
|
|
11
|
-
ansible_yum_repo | https://download.fedoraproject.org /pub/epel/6/i386/epel-release-6-8.noarch.rpm | yum repo
|
|
11
|
+
ansible_yum_repo | https://download.fedoraproject.org /pub/epel/6/i386/epel-release-6-8.noarch.rpm | yum repo RH/Centos6
|
|
12
|
+
_for RH/Centos7 change to_ | http://dl.fedoraproject.org /pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm |
|
|
12
13
|
enable_yum_epel | false | enable yum EPEL repo
|
|
13
|
-
ansible_sles_repo | http://download.opensuse.org
|
|
14
|
-
python_sles_repo | http://download.opensuse.org
|
|
14
|
+
ansible_sles_repo | http://download.opensuse.org/repositories /systemsmanagement/SLE_12/systemsmanagement.repo | zypper suse ansible repo
|
|
15
|
+
python_sles_repo | http://download.opensuse.org/repositories/devel: /languages:/python/SLE_12/devel:languages:python.repo | zypper suse python repo
|
|
15
16
|
require_ansible_omnibus | false | Set if using omnibus ansible pip install
|
|
16
17
|
ansible_omnibus_url | https://raw.githubusercontent.com /neillturner/omnibus-ansible/master/ansible_install.sh | omnibus ansible install location.
|
|
17
18
|
ansible_omnibus_remote_path | "/opt/ansible" | Server Installation location of an omnibus ansible install.
|
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.
|
|
4
|
+
version: 0.0.27
|
|
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-09-
|
|
11
|
+
date: 2015-09-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|