forked from dev-sec/puppet-os-hardening
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitchen.do.yml
122 lines (116 loc) · 4.61 KB
/
kitchen.do.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
---
driver:
name: digitalocean
size: s-1vcpu-1gb
region: nyc3
provisioner:
name: puppet_apply
ignore_spec_fixtures: true
manifests_path: test/fixtures/manifests.do
modules_path: test/fixtures/modules
puppetfile_path: test/fixtures/Puppetfile
require_chef_for_busser: false
platforms:
- name: centos-7-puppet6
provisioner:
puppet_yum_repo: https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
puppet_yum_collections_repo: http://yum.puppetlabs.com/puppet6/puppet6-release-el-7.noarch.rpm
- name: centos-7-puppet7
provisioner:
puppet_yum_repo: https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
puppet_yum_collections_repo: http://yum.puppetlabs.com/puppet7/puppet7-release-el-7.noarch.rpm
- name: centos-8-puppet6
driver_config:
image: quay.io/centos/centos:stream8
platform: centos
provisioner:
puppet_yum_repo: https://yum.puppetlabs.com/puppetlabs-release-el-8.noarch.rpm
puppet_yum_collections_repo: http://yum.puppetlabs.com/puppet6/puppet6-release-el-8.noarch.rpm
- name: centos-8-puppet7
driver_config:
image: quay.io/centos/centos:stream8
platform: centos
provisioner:
puppet_yum_repo: https://yum.puppetlabs.com/puppetlabs-release-el-8.noarch.rpm
puppet_yum_collections_repo: http://yum.puppetlabs.com/puppet7/puppet7-release-el-8.noarch.rpm
- name: debian-9-puppet6
provisioner:
puppet_apt_repo: https://apt.puppetlabs.com/puppetlabs-release-xenial.deb
puppet_apt_collections_repo: http://apt.puppetlabs.com/puppet6-release-xenial.deb
- name: debian-9-puppet7
provisioner:
puppet_apt_repo: https://apt.puppetlabs.com/puppetlabs-release-xenial.deb
puppet_apt_collections_repo: http://apt.puppetlabs.com/puppet7-release-xenial.deb
- name: debian-10-puppet6
provisioner:
puppet_apt_repo: https://apt.puppetlabs.com/puppetlabs-release-buster.deb
puppet_apt_collections_repo: http://apt.puppetlabs.com/puppet6-release-buster.deb
- name: debian-10-puppet7
provisioner:
puppet_apt_repo: https://apt.puppetlabs.com/puppetlabs-release-buster.deb
puppet_apt_collections_repo: http://apt.puppetlabs.com/puppet7-release-buster.deb
- name: opensuse-15-puppet6
driver_config:
image: opensuse/leap:15
platform: opensuse
provisioner:
custom_pre_install_command: |
sudo zypper addrepo -n puppet6 -f -G http://yum.puppetlabs.com/puppet6/sles/12/x86_64 puppet6
sudo zypper install -y puppet-agent
- name: opensuse-15-puppet7
driver_config:
image: opensuse/leap:15
platform: opensuse
provisioner:
custom_pre_install_command: |
sudo zypper addrepo -n puppet7 -f -G http://yum.puppetlabs.com/puppet7/sles/15/x86_64 puppet7
sudo zypper install -y puppet-agent
- name: oracle-7-puppet6
driver_config:
image: oraclelinux:7
platform: rhel
provisioner:
puppet_yum_repo: https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
puppet_yum_collections_repo: http://yum.puppetlabs.com/puppet6/puppet6-release-el-7.noarch.rpm
- name: oracle-7-puppet7
driver_config:
image: oraclelinux:7
platform: rhel
provisioner:
puppet_yum_repo: https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
puppet_yum_collections_repo: http://yum.puppetlabs.com/puppet7/puppet7-release-el-7.noarch.rpm
- name: ubuntu-18-04-puppet6
driver_config:
image: ubuntu:18.04
provisioner:
puppet_apt_repo: https://apt.puppetlabs.com/puppetlabs-release-xenial.deb
puppet_apt_collections_repo: http://apt.puppetlabs.com/puppet6-release-bionic.deb
- name: ubuntu-18-04-puppet7
driver_config:
image: ubuntu:18.04
provisioner:
puppet_apt_repo: https://apt.puppetlabs.com/puppetlabs-release-xenial.deb
puppet_apt_collections_repo: http://apt.puppetlabs.com/puppet7-release-bionic.deb
- name: ubuntu-20-04-puppet6
driver_config:
image: ubuntu:20.04
provisioner:
puppet_apt_repo: https://apt.puppetlabs.com/puppetlabs-release-focal.deb
puppet_apt_collections_repo: http://apt.puppetlabs.com/puppet6-release-focal.deb
- name: ubuntu-20-04-puppet7
driver_config:
image: ubuntu:20.04
provisioner:
puppet_apt_repo: https://apt.puppetlabs.com/puppetlabs-release-focal.deb
puppet_apt_collections_repo: http://apt.puppetlabs.com/puppet7-release-focal.deb
transport:
name: sftp
ssh_key: '~/.ssh/do_ci'
max_wait_until_ready: 30
verifier:
name: inspec
reporter:
- cli
- junit:.kitchen/logs/%{suite}-%{platform}_inspec.xml
suites:
- name: digitalocean-linux-baseline