From 8f4a33e33b1b964766e6b4631c08885c74b32a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Wed, 24 Apr 2013 14:33:32 -0400 Subject: [PATCH] remove notification on apache2 service --- manifests/extra-access.pp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/manifests/extra-access.pp b/manifests/extra-access.pp index 3c72eaf..68a9069 100644 --- a/manifests/extra-access.pp +++ b/manifests/extra-access.pp @@ -1,10 +1,9 @@ -define sudo::extra-access($user, $access) { - file { "/etc/sudoers.d/$user": +define sudo::extra-access($ensure = 'present', $user, $access) { + file { "/etc/sudoers.d/01-user_access-$title": ensure => 'present', owner => root, group => admin, mode => 640, - content => "$user $access", - notify => Service[apache2] + content => "# THIS FILE IS MANAGED BY PUPPET !\n\n$user $access\n", } }