Gem lock + standard images

This commit is contained in:
Dale McDiarmid 2016-04-15 17:04:31 +01:00
parent 1514687034
commit 53f5d61fe5
4 changed files with 46 additions and 5 deletions

1
.gitignore vendored
View file

@ -1,5 +1,4 @@
.kitchen/
*.lock
*.pyc
.vendor
.bundle

View file

@ -15,7 +15,7 @@ provisioner:
platforms:
- name: ubuntu-14.04
driver_config:
image: dliappis/ubuntuhetzner:14.04
image: dliappis/ubuntu:14.04
privileged: true
provision_command:
- apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ansible/ansible
@ -45,7 +45,7 @@ platforms:
run_command: "/sbin/init"
- name: centos-6
driver_config:
image: dliappis/centoshetzner:6
image: dliappis/centos:6
privileged: true
provision_command:
- yum remove -y ansible
@ -54,7 +54,7 @@ platforms:
use_sudo: false
- name: centos-7
driver_config:
image: dliappis/centoshetzner:7
image: dliappis/centos:7
provision_command:
- yum remove -y ansible
- yum -y install gmp-devel python-devel python-pip

42
Gemfile.lock Normal file
View file

@ -0,0 +1,42 @@
GEM
remote: https://rubygems.org/
specs:
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
highline (1.7.8)
kitchen-ansible (0.40.1)
librarian-ansible
test-kitchen (~> 1.4)
kitchen-docker (2.1.0)
test-kitchen (>= 1.0.0)
librarian (0.1.2)
highline
thor (~> 0.15)
librarian-ansible (3.0.0)
faraday
librarian (~> 0.1.0)
mixlib-shellout (2.2.6)
multipart-post (2.0.0)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.4)
safe_yaml (1.0.4)
test-kitchen (1.4.2)
mixlib-shellout (>= 1.2, < 3.0)
net-scp (~> 1.1)
net-ssh (~> 2.7, < 2.10)
safe_yaml (~> 1.0)
thor (~> 0.18)
thor (0.19.1)
PLATFORMS
ruby
DEPENDENCIES
kitchen-ansible (= 0.40.1)
kitchen-docker (= 2.1.0)
net-ssh (~> 2.0)
test-kitchen (= 1.4.2)
BUNDLED WITH
1.11.2

View file

@ -1,4 +1,4 @@
- name: restart elasticsearch
service: name={{instance_init_script | basename}} state=restarted enabled=yes
when: es_restart_on_change and es_start_service and (not elasticsearch_started.changed or (plugin_installed is defined and plugin_installed.changed) or elasticsearch_install.changed)
when: es_restart_on_change and es_start_service and not elasticsearch_started.changed and ((plugin_installed is defined and plugin_installed.changed) or elasticsearch_install.changed)