From 53eb5fa507e0ddcf75f77a3b4be33d3419f44d2b Mon Sep 17 00:00:00 2001 From: Greg Lyle Date: Sun, 6 Mar 2011 18:19:08 -0500 Subject: Correct use of enviroment variable --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index d873237..c619863 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -36,7 +36,8 @@ class monkeysphere::import_key inherits monkeysphere { # Server host key publication class monkeysphere::publish_key inherits monkeysphere { - exec { "MONKEYSPHERE_PROMPT=false $keyserver_arg /usr/sbin/monkeysphere-host publish-key": + exec { "/usr/sbin/monkeysphere-host publish-key": + enviroment => "MONKEYSPHERE_PROMPT=false", user => "root", } } -- cgit v1.2.3