On Jan 6, 4:01 pm, pl <[email protected]> wrote:

>   def install
>     output = `sudo -u node sh -c \"export PATH=/home/node/opt/bin:$
> {PATH}; npm install http-console\"`
>     if output =~ /npm not ok/
>       raise Puppet::ExecutionFailure, "Failed to install
> #{resource[:name]}"
>     end
>   end

Note that this was a hard-coded package (http-console) I added just to
see if it would install. It didn't.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to