diff options
-rw-r--r-- | manifests/profile.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/profile.pp b/manifests/profile.pp index 931a74d..10f6f51 100644 --- a/manifests/profile.pp +++ b/manifests/profile.pp @@ -70,6 +70,12 @@ define apparmor::profile ( notify => Exec["aa-enable-${name}"], } + # Remove the "disable" symlink if any + file { "${apparmor_d}/disable/${name}": + ensure => absent, + notify => Exec["aa-enable-${name}"], + } + if ($local_source == true) { $real_local_source = "${default_base}/local/${name}" } elsif ($local_source == false) { |