From 70dba9375f47396f2a6b6ecc6794c58f5f8464cb Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Wed, 17 Dec 2014 14:16:45 -0500 Subject: [PATCH] user changes need a service restart --- manifests/user.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/manifests/user.pp b/manifests/user.pp index 01045b2..a8d13ca 100644 --- a/manifests/user.pp +++ b/manifests/user.pp @@ -35,11 +35,13 @@ file { "${user_base}/${title}/auth/password": ensure => file, content => "${password}\n", + notify => Service['nessus'], } # For the clear txt password to work, we need to ensure there is no hash file. file { "${user_base}/${title}/auth/hash": - ensure => absent, + ensure => absent, + notify => Service['nessus'], } # if we are an admin, just touch the admin file @@ -47,7 +49,8 @@ ensure => $admin ? { true => file, default => absent, - } + }, + notify => Service['nessus'], } file { "${user_base}/${title}/auth/rules": @@ -59,6 +62,7 @@ ensure => absent, backup => false, recurse => true, + notify => Service['nessus'], } } }