Skip to content

Commit 0c100fa

Browse files
Automated PR: Standardising Files
[skip ci] This PR will standardise the files we have with out agreed spec in sous-chefs/repo-management. This repo has been identified by topic(s) of chef-cookbook
1 parent b045d55 commit 0c100fa

5 files changed

+171
-3
lines changed

.overcommit.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ PreCommit:
44
enabled: true
55
YamlLint:
66
enabled: true
7-
Rspec:
7+
required_executable: "yamllint"
8+
ChefSpec:
89
enabled: true
9-
required_executable: 'rspec'
10+
required_executable: "chef"
11+
command: ["chef", "exec", "rspec"]
1012
Cookstyle:
1113
enabled: true
12-
required_executable: 'cookstyle'
14+
required_executable: "cookstyle"
1315
command: ["cookstyle"]
16+
MarkdownLint:
17+
enabled: false
18+
required_executable: "npx"
19+
command: ["npx", "markdownlint-cli2", "'**/*.md'"]
20+
include: ["**/*.md"]
21+
1422
CommitMsg:
1523
HardTabs:
1624
enabled: true

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ This file is used to list changes made in each version of the selinux cookbook.
44

55
## Unreleased
66

7+
Standardise files with files in sous-chefs/repo-management
8+
79
## 6.1.9 - *2023-04-01*
810

911
## 6.1.8 - *2023-04-01*

kitchen.dokken.yml

+113
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
driver:
2+
name: dokken
3+
privileged: true
4+
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
5+
6+
transport: { name: dokken }
7+
provisioner: { name: dokken }
8+
9+
platforms:
10+
- name: almalinux-8
11+
driver:
12+
image: dokken/almalinux-8
13+
pid_one_command: /usr/lib/systemd/systemd
14+
15+
- name: almalinux-9
16+
driver:
17+
image: dokken/almalinux-9
18+
pid_one_command: /usr/lib/systemd/systemd
19+
20+
- name: amazonlinux-2023
21+
driver:
22+
image: dokken/amazonlinux-2023
23+
pid_one_command: /usr/lib/systemd/systemd
24+
25+
- name: centos-7
26+
driver:
27+
image: dokken/centos-7
28+
pid_one_command: /usr/lib/systemd/systemd
29+
30+
- name: centos-stream-8
31+
driver:
32+
image: dokken/centos-stream-8
33+
pid_one_command: /usr/lib/systemd/systemd
34+
35+
- name: centos-stream-9
36+
driver:
37+
image: dokken/centos-stream-9
38+
pid_one_command: /usr/lib/systemd/systemd
39+
40+
- name: debian-9
41+
driver:
42+
image: dokken/debian-9
43+
pid_one_command: /bin/systemd
44+
45+
- name: debian-10
46+
driver:
47+
image: dokken/debian-10
48+
pid_one_command: /bin/systemd
49+
50+
- name: debian-11
51+
driver:
52+
image: dokken/debian-11
53+
pid_one_command: /bin/systemd
54+
55+
- name: debian-12
56+
driver:
57+
image: dokken/debian-12
58+
pid_one_command: /bin/systemd
59+
60+
- name: fedora-latest
61+
driver:
62+
image: dokken/fedora-latest
63+
pid_one_command: /usr/lib/systemd/systemd
64+
65+
- name: opensuse-leap-15
66+
driver:
67+
image: dokken/opensuse-leap-15
68+
pid_one_command: /usr/lib/systemd/systemd
69+
70+
- name: oraclelinux-7
71+
driver:
72+
image: dokken/oraclelinux-7
73+
pid_one_command: /usr/lib/systemd/systemd
74+
75+
- name: oraclelinux-8
76+
driver:
77+
image: dokken/oraclelinux-8
78+
pid_one_command: /usr/lib/systemd/systemd
79+
80+
- name: oraclelinux-9
81+
driver:
82+
image: dokken/oraclelinux-9
83+
pid_one_command: /usr/lib/systemd/systemd
84+
85+
- name: rockylinux-8
86+
driver:
87+
image: dokken/rockylinux-8
88+
pid_one_command: /usr/lib/systemd/systemd
89+
90+
- name: rockylinux-9
91+
driver:
92+
image: dokken/rockylinux-9
93+
pid_one_command: /usr/lib/systemd/systemd
94+
95+
- name: ubuntu-18.04
96+
driver:
97+
image: dokken/ubuntu-18.04
98+
pid_one_command: /bin/systemd
99+
100+
- name: ubuntu-20.04
101+
driver:
102+
image: dokken/ubuntu-20.04
103+
pid_one_command: /bin/systemd
104+
105+
- name: ubuntu-22.04
106+
driver:
107+
image: dokken/ubuntu-22.04
108+
pid_one_command: /bin/systemd
109+
110+
- name: ubuntu-23.04
111+
driver:
112+
image: dokken/ubuntu-23.04
113+
pid_one_command: /bin/systemd

kitchen.exec.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
driver: { name: exec }
3+
transport: { name: exec }
4+
5+
platforms:
6+
- name: macos-latest
7+
- name: windows-latest

kitchen.global.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
provisioner:
3+
name: chef_infra
4+
product_name: chef
5+
product_version: <%= ENV['CHEF_VERSION'] || 'latest' %>
6+
channel: stable
7+
install_strategy: once
8+
chef_license: accept
9+
enforce_idempotency: <%= ENV['ENFORCE_IDEMPOTENCY'] || true %>
10+
multiple_converge: <%= ENV['MULTIPLE_CONVERGE'] || 2 %>
11+
deprecations_as_errors: true
12+
log_level: <%= ENV['CHEF_LOG_LEVEL'] || 'auto' %>
13+
14+
verifier:
15+
name: inspec
16+
17+
platforms:
18+
- name: almalinux-8
19+
- name: almalinux-9
20+
- name: amazonlinux-2023
21+
- name: centos-7
22+
- name: centos-stream-8
23+
- name: centos-stream-9
24+
- name: debian-9
25+
- name: debian-10
26+
- name: debian-11
27+
- name: debian-12
28+
- name: fedora-latest
29+
- name: opensuse-leap-15
30+
- name: oraclelinux-7
31+
- name: oraclelinux-8
32+
- name: oraclelinux-9
33+
- name: rockylinux-8
34+
- name: rockylinux-9
35+
- name: ubuntu-18.04
36+
- name: ubuntu-20.04
37+
- name: ubuntu-22.04
38+
- name: ubuntu-23.04

0 commit comments

Comments
 (0)