|
1 | 1 | --- |
2 | 2 | driver: |
3 | | - name: vagrant |
| 3 | + name: dokken |
| 4 | + chef_version: 12.5.1 |
| 5 | + privileged: true # because Docker and SystemD/Upstart |
| 6 | + |
| 7 | +transport: |
| 8 | + name: dokken |
| 9 | + |
4 | 10 | provisioner: |
5 | | - name: chef_solo |
6 | | - test_repo_uri: https://github.com/TelekomLabs/tests-ssh-hardening.git |
| 11 | + name: dokken |
| 12 | + |
| 13 | +verifier: |
| 14 | + name: inspec |
| 15 | + sudo: true |
| 16 | + |
7 | 17 | platforms: |
8 | 18 | - name: ubuntu-12.04 |
9 | | - driver_config: |
10 | | - box: ubuntu/precise64 |
11 | | - box_url: https://atlas.hashicorp.com/ubuntu/boxes/precise64/versions/20150730.1.0/providers/virtualbox.box |
| 19 | + driver: |
| 20 | + image: ubuntu:12.04 |
12 | 21 | - name: ubuntu-14.04 |
13 | | - driver_config: |
14 | | - box: ubuntu/trusty64 |
15 | | - box_url: https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/20150609.0.10/providers/virtualbox.box |
16 | | -- name: centos-6.4 |
17 | | - driver_config: |
18 | | - box: opscode-centos-6.4 |
19 | | - box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box |
20 | | -- name: centos-6.5 |
21 | | - driver_config: |
22 | | - box: opscode-centos-6.5 |
23 | | - box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box |
24 | | -- name: centos-7.1 |
25 | | - driver_config: |
26 | | - box: opscode-centos-7.1 |
27 | | - box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-7.1_chef-provisionerless.box |
28 | | -- name: oracle-6.4 |
29 | | - driver_config: |
30 | | - box: oracle-6.4 |
31 | | - box_url: https://storage.us2.oraclecloud.com/v1/istoilis-istoilis/vagrant/oel64-64.box |
32 | | -- name: oracle-6.5 |
33 | | - driver_config: |
34 | | - box: oracle-6.5 |
35 | | - box_url: https://storage.us2.oraclecloud.com/v1/istoilis-istoilis/vagrant/oel65-64.box |
36 | | -- name: debian-6 |
37 | | - driver_config: |
38 | | - box: ffuenf/debian-6.0.10-amd64 |
39 | | - box_url: https://atlas.hashicorp.com/ffuenf/boxes/debian-6.0.10-amd64/versions/1.0.11/providers/virtualbox.box |
| 22 | + driver: |
| 23 | + image: ubuntu:14.04 |
| 24 | +- name: ubuntu-15.10 |
| 25 | + driver: |
| 26 | + image: ubuntu:15.10 |
| 27 | + pid_one_command: /bin/systemd |
| 28 | +- name: ubuntu-16.04 |
| 29 | + driver: |
| 30 | + image: ubuntu:16.04 |
| 31 | + intermediate_instructions: |
| 32 | + - RUN /usr/bin/apt-get update |
| 33 | + pid_one_command: /bin/systemd |
| 34 | +- name: centos-6.6 |
| 35 | + driver: |
| 36 | + image: centos:6.6 |
| 37 | +- name: centos-6.7 |
| 38 | + driver: |
| 39 | + image: centos:6.7 |
| 40 | + intermediate_instructions: |
| 41 | + - RUN yum install -y initscripts |
| 42 | +- name: centos-7 |
| 43 | + driver: |
| 44 | + image: centos:7 |
| 45 | + pid_one_command: /usr/lib/systemd/systemd |
| 46 | +- name: oracle-6.6 |
| 47 | + driver: |
| 48 | + image: oraclelinux:6.6 |
| 49 | +- name: oracle-6.7 |
| 50 | + driver: |
| 51 | + image: oraclelinux:6.7 |
| 52 | +- name: oracle-7.1 |
| 53 | + driver: |
| 54 | + image: oraclelinux:7.1 |
| 55 | + pid_one_command: /usr/lib/systemd/systemd |
40 | 56 | - name: debian-7 |
41 | | - driver_config: |
42 | | - box: debian/wheezy64 |
43 | | - box_url: https://atlas.hashicorp.com/debian/boxes/wheezy64/versions/7.8.5/providers/virtualbox.box |
| 57 | + driver: |
| 58 | + image: debian:7 |
| 59 | + intermediate_instructions: |
| 60 | + - RUN /usr/bin/apt-get update |
| 61 | + - RUN /usr/bin/apt-get install -y procps |
44 | 62 | - name: debian-8 |
45 | | - driver_config: |
46 | | - box: debian/jessie64 |
47 | | - box_url: https://atlas.hashicorp.com/debian/boxes/jessie64/versions/8.1.0/providers/virtualbox.box |
48 | | -verifier: |
49 | | - name: inspec |
| 63 | + driver: |
| 64 | + image: debian:8 |
| 65 | + intermediate_instructions: |
| 66 | + - RUN /usr/bin/apt-get update |
| 67 | + - RUN /usr/bin/apt-get install -y procps |
| 68 | + pid_one_command: /bin/systemd |
| 69 | + |
50 | 70 | suites: |
51 | 71 | - name: default |
52 | 72 | run_list: |
53 | | - - - role[ssh] |
| 73 | + - recipe[apt] |
| 74 | + - recipe[yum] |
| 75 | + - recipe[ssh-hardening::default] |
| 76 | + verifier: |
| 77 | + inspec_tests: |
| 78 | + - https://github.com/dev-sec/tests-ssh-hardening |
0 commit comments