Skip to content

Commit ef6014d

Browse files
authored
patch-cumuluslinux-support (#239)
Signed-off-by: mdklapwijk <[email protected]>
1 parent 18772ce commit ef6014d

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

manifests/grub.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
) {
1818

1919
case $::operatingsystem {
20-
debian, ubuntu: {
20+
debian, ubuntu, cumuluslinux: {
2121
$grub_cfg = '/boot/grub/grub.cfg'
2222
$grub_cmd = '/usr/sbin/grub-mkconfig'
2323
}

manifests/minimize_access.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
$nologin_path = '/sbin/nologin'
3434
$shadow_path = ['/etc/shadow', '/etc/gshadow']
3535
}
36-
debian, ubuntu: {
36+
debian, ubuntu, cumuluslinux: {
3737
$nologin_path = '/usr/sbin/nologin'
3838
$shadow_path = ['/etc/shadow', '/etc/gshadow']
3939
}

manifests/pam.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
$pam_passwdqc = 'pam_passwdqc'
2828
$pam_cracklib = 'pam_cracklib'
2929
}
30-
debian, ubuntu: {
30+
debian, ubuntu, cumuluslinux: {
3131
$pam_ccreds = 'libpam-ccreds'
3232
$pam_passwdqc = 'libpam-passwdqc'
3333
$pam_cracklib = 'libpam-cracklib'
@@ -46,7 +46,7 @@
4646
}
4747

4848
case $::operatingsystem {
49-
debian, ubuntu: {
49+
debian, ubuntu, cumuluslinux: {
5050
# configure paths
5151
$passwdqc_path = '/usr/share/pam-configs/passwdqc'
5252
$tally2_path = '/usr/share/pam-configs/tally2'

manifests/sysctl.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
# be pre-configured in initramfs
207207
if $enable_module_loading == false {
208208
case $::operatingsystem {
209-
debian, ubuntu: {
209+
debian, ubuntu, cumuluslinux: {
210210
file { '/etc/initramfs-tools/modules':
211211
ensure => file,
212212
content => template('os_hardening/modules.erb'),

metadata.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@
7070
"16",
7171
"18"
7272
]
73+
},
74+
{
75+
"operatingsystem": "CumulusLinux",
76+
"operatingsystemrelease": [
77+
"3",
78+
"4"
79+
]
7380
}
7481
],
7582
"requirements": [

0 commit comments

Comments
 (0)