Skip to content

Commit b05517c

Browse files
committed
Merge pull request #40 from hardening-io/update_kitchen-ansible
Update kitchen-ansible, remove separate debian install
2 parents c49708d + aa5dc8f commit b05517c

File tree

4 files changed

+15
-44
lines changed

4 files changed

+15
-44
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-os-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,13 +32,24 @@ 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
verifier:
3448
ruby_bindir: '/usr/bin'
3549
suites:
3650
- name: default
3751
roles_path: roles
3852
hosts: all
39-
require_ansible_repo: true
4053
ansible_verbose: true
4154
ansible_version: 1.9.2
4255
provisioner:

.kitchen_debian.yml

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

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,9 @@ bundle exec thor kitchen:fetch-remote-tests
9494
# fast test on one machine
9595
bundle exec kitchen test default-ubuntu-1204
9696

97-
# test on all machines except Debian-based machines
97+
# test on all machines
9898
bundle exec kitchen test
9999

100-
# test on Debian-based machines
101-
KITCHEN_YAML=".kitchen_debian.yml" bundle exec kitchen test
102-
103100
# for development
104101
bundle exec kitchen create default-ubuntu-1204
105102
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)