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

Commit e73c107

Browse files
author
Sebastian Gumprich
committed
New dir layout. Fix #43
1 parent ea213d6 commit e73c107

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.kitchen.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
driver:
33
name: vagrant
4+
transport:
5+
name: rsync
46
provisioner:
57
name: ansible_playbook
68
test_repo_uri: https://github.com/TelekomLabs/tests-ssh-hardening.git
@@ -44,12 +46,14 @@ platforms:
4446
driver_config:
4547
box: debian-8
4648
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-8.1_chef-provisionerless.box
47-
49+
verifier:
50+
ruby_bindir: '/usr/bin'
4851
suites:
4952
- name: default
50-
roles_path: roles
5153
hosts: all
5254
ansible_verbose: true
5355
ansible_version: 1.9.2
56+
ansible_diff: true
57+
roles_path: ../ansible-ssh-hardening/
5458
provisioner:
5559
playbook: test/integration/playbooks/default.yml

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ before_install:
66
- sudo apt-get install -qq python-apt python-pycurl
77
install:
88
- pip install ansible
9-
- echo -e 'localhost ansible_connection=local' > spec/inventory
10-
- echo -e '[defaults]\nroles_path = ./roles\nhostfile = ./spec/inventory' > ansible.cfg
9+
- echo -e 'localhost ansible_connection=local' > spec/inventory
10+
- echo -e '[defaults]\nroles_path = ../\nhostfile = ./spec/inventory' > ansible.cfg
1111
script:
1212
- ansible-playbook --syntax-check spec/travis.yml
1313
- ansible-playbook --sudo -v --diff spec/travis.yml

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,28 @@ source 'https://rubygems.org'
44

55
group :test do
66
gem 'rake'
7+
# gem 'chefspec', '~> 4.2.0'
78
gem 'foodcritic', '~> 4.0'
89
gem 'thor-foodcritic'
10+
# gem 'rubocop', '~> 0.28.0'
911
gem 'coveralls', require: false
1012
end
1113

1214
group :development do
1315
gem 'guard'
1416
gem 'guard-rspec'
1517
gem 'guard-kitchen'
18+
# gem 'guard-rubocop'
19+
# gem 'guard-foodcritic'
1620
end
1721

1822
group :integration do
1923
gem 'test-kitchen', '~> 1.0'
2024
gem 'kitchen-ansible'
2125
gem 'kitchen-vagrant'
2226
gem 'kitchen-sharedtests', '~> 0.2.0'
27+
gem 'kitchen-sync'
28+
gem 'kitchen-transport-rsync'
2329
end
2430

2531
group :openstack do

0 commit comments

Comments
 (0)