Skip to content

Commit 1698451

Browse files
committed
Add CentOS/RHEL 9 support
Add CentOS/RHEL 9 support. Without this change puppet-systemd will likely fail with the following error: Evaluation Error: Error while evaluating a Function Call, Class[Systemd]: expects a value for parameter 'accounting' (file: /etc/puppet/modules/systemd/manifests/service_limits.pp, line: 40, column: 3) Tested on Centos 9 Stream. Signed-off-by: Michele Baldessari <[email protected]>
1 parent 2ef9d94 commit 1698451

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

data/RedHat-9.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
systemd::accounting:
3+
DefaultCPUAccounting: 'yes'
4+
DefaultBlockIOAccounting: 'yes'
5+
DefaultMemoryAccounting: 'yes'
6+
DefaultTasksAccounting: 'yes'
7+
DefaultIOAccounting: 'yes'
8+
DefaultIPAccounting: 'yes'

metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
"operatingsystem": "RedHat",
4747
"operatingsystemrelease": [
4848
"7",
49-
"8"
49+
"8",
50+
"9"
5051
]
5152
},
5253
{

0 commit comments

Comments
 (0)