Apparmor is included by default in ubuntu24.
This commit is contained in:
parent
b0cc5aa807
commit
37fcac0ba8
1 changed files with 4 additions and 1 deletions
|
@ -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'}
|
||||
|
|
Loading…
Add table
Reference in a new issue