summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Deziel <simon.deziel@gmail.com>2013-01-21 10:36:40 -0500
committerSimon Deziel <simon.deziel@gmail.com>2013-01-21 10:36:40 -0500
commit2575d60f03c08a0ee97589e30434ff79e4f0dc1f (patch)
tree9d5aa62a6f8a07452a51cff38bed79fc765f45af
parente286f56b0b901b4a371cabb4bfb9ab0b1b063b95 (diff)
downloadpuppet-apparmor-2575d60f03c08a0ee97589e30434ff79e4f0dc1f.tar.gz
puppet-apparmor-2575d60f03c08a0ee97589e30434ff79e4f0dc1f.tar.bz2
Ensure Apparmor is enabled/running
-rw-r--r--manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 48e9da5..28a73bc 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -32,6 +32,10 @@ class apparmor {
ensure => present,
}
+ service { 'apparmor':
+ ensure => running,
+ }
+
$apparmor_d = '/etc/apparmor.d'
file { 'apparmor.d':
ensure => directory,