diff --git a/manifests/auth.pp b/manifests/auth.pp index 4cf8318c697b4e4f9cd6d52268a88a6639049e80..3827c38741846c356b28cd9b2d297a2f7bfc3c12 100644 --- a/manifests/auth.pp +++ b/manifests/auth.pp @@ -141,7 +141,8 @@ class aes::auth ( user => $auth_user, group => $auth_group, path => $auth_home, - command => "/bin/bash -l $auth_home/on_update.sh", + command => "$auth_home/on_update.sh", + environment => [ "HOME=$auth_home", "PATH=/bin:/usr/bin" ], refreshonly => true, require => File["${auth_home}/on_update.sh"], notify => Service[$auth_service],