From ecbeee89a345e03fd50af74eeb84011163930ad4 Mon Sep 17 00:00:00 2001 From: Patrik Holmqvist Date: Thu, 19 Dec 2024 15:46:16 +0100 Subject: [PATCH] Add missing '}' --- .../etc/puppet/manifests/cosmos-site.pp | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 9dd23c16..7a65d66f 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -842,17 +842,18 @@ class sunetops { # 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/ { - class {'bastion': - fstab_fix_shm => false, - sysctl_net_hardening => false, - } - } else { - class {'bastion': - fstab_fix_shm => false, - fixperms_paranoia => true, - } - } + if $facts['networking']['hostname'] =~ /kvm/ { + class {'bastion': + fstab_fix_shm => false, + sysctl_net_hardening => false, + } + } else { + class {'bastion': + fstab_fix_shm => false, + fixperms_paranoia => true, + } + } + } } class konsulter {