Apparmor is included by default in ubuntu24.

This commit is contained in:
Patrik Holmqvist 2024-12-19 10:56:15 +01:00
parent b0cc5aa807
commit 37fcac0ba8
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -45,7 +45,10 @@ class common {
}
include apt
include apparmor
# Only import appaprmor for ubuntu22 and older
if ($facts['os']['name'] == 'Ubuntu' and versioncmp($facts['os']['release']['full'], '22.04') <= 0 ){
include apparmor
}
include sunet::packages::jq
package { 'needrestart': ensure => installed}
package {'lshw': ensure => 'latest'}