Do not run bastion for now on ubuntu24, SC-2522
This commit is contained in:
parent
b94a601b37
commit
73e5eb3486
1 changed files with 15 additions and 17 deletions
|
@ -838,17 +838,15 @@ class sunetops {
|
||||||
config => safe_hiera('sunetops_ssh_keys', {})
|
config => safe_hiera('sunetops_ssh_keys', {})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# OS hardening
|
# OS hardening
|
||||||
|
# For now we skip this on ubuntu24, SC-2522
|
||||||
|
if ($facts['os']['name'] == 'Ubuntu' and versioncmp($facts['os']['release']['full'], '22.04') <= 0 ){
|
||||||
if $facts['networking']['hostname'] =~ /kvm/ {
|
if $facts['networking']['hostname'] =~ /kvm/ {
|
||||||
class {'bastion':
|
class {'bastion':
|
||||||
fstab_fix_shm => false,
|
fstab_fix_shm => false,
|
||||||
sysctl_net_hardening => false,
|
sysctl_net_hardening => false,
|
||||||
}
|
}
|
||||||
} elsif $facts['networking']['hostname'] =~ /random/ { # pollen requires exec on /tmp
|
|
||||||
class {'bastion':
|
|
||||||
fixperms_enable => false,
|
|
||||||
fixperms_paranoia => false,
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
class {'bastion':
|
class {'bastion':
|
||||||
fstab_fix_shm => false,
|
fstab_fix_shm => false,
|
||||||
|
|
Loading…
Add table
Reference in a new issue