Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit fd81dbf

Browse files
committed
Merge pull request #4 from hardening-io/update_kitchen-ansible
Update kitchen-ansible, remove separate debian install
2 parents ae40dc6 + 46ec321 commit fd81dbf

File tree

4 files changed

+15
-42
lines changed

4 files changed

+15
-42
lines changed

.kitchen.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ provisioner:
55
name: ansible_playbook
66
test_repo_uri: https://github.com/TelekomLabs/tests-mysql-hardening.git
77
hosts: all
8+
require_ansible_repo: false
9+
require_ansible_omnibus: true
810
platforms:
911
- name: ubuntu-12.04
1012
driver_config:
@@ -30,11 +32,22 @@ platforms:
3032
driver_config:
3133
box: oracle-6.5
3234
box_url: https://storage.us2.oraclecloud.com/v1/istoilis-istoilis/vagrant/oel65-64.box
35+
- name: debian-6
36+
driver_config:
37+
box: debian-6
38+
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-6.0.10_chef-provisionerless.box
39+
- name: debian-7
40+
driver_config:
41+
box: debian-7
42+
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.8_chef-provisionerless.box
43+
- name: debian-8
44+
driver_config:
45+
box: debian-8
46+
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-8.1_chef-provisionerless.box
3347
suites:
3448
- name: default
3549
roles_path: roles
3650
hosts: all
37-
require_ansible_repo: true
3851
ansible_verbose: true
3952
ansible_version: 1.9.2
4053
provisioner:

.kitchen_debian.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,9 @@ sed -i 's/foobar/iloverandompasswordsbutthiswilldo/g' roles/bennojoy.mysql/defau
9898
# fast test on one machine
9999
bundle exec kitchen test default-ubuntu-1204
100100

101-
# test on all machines except Debian-based machines
101+
# test on all machines
102102
bundle exec kitchen test
103103

104-
# test on Debian-based machines
105-
KITCHEN_YAML=".kitchen_debian.yml" bundle exec kitchen test
106-
107104
# for development
108105
bundle exec kitchen create default-ubuntu-1204
109106
bundle exec kitchen converge default-ubuntu-1204

ansible-install.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)