Re: [Puppet Users] exec command: command works on cli, but not via puppet

2012-05-30 Thread Ryan Coleman
On Sun, May 27, 2012 at 1:18 PM, hohum m...@marcsnet.com wrote: I get an error that the exec command failed because it returned 1 instead of 0 but when I copy the command puppet outputs as an error, and paste that into a shell it works perfectly.  The command's syntax is this: Hi, After you

Re: [Puppet Users] exec command: command works on cli, but not via puppet

2012-05-30 Thread Gary Larizza
On Wed, May 30, 2012 at 2:00 PM, Ryan Coleman r...@puppetlabs.com wrote: On Sun, May 27, 2012 at 1:18 PM, hohum m...@marcsnet.com wrote: I get an error that the exec command failed because it returned 1 instead of 0 but when I copy the command puppet outputs as an error, and paste that

[Puppet Users] exec command: command works on cli, but not via puppet

2012-05-27 Thread hohum
I'm a noob. I'm wondering if I'm doing something fundamentally wrong and am looking for some debugging advise. I get an error that the exec command failed because it returned 1 instead of 0 but when I copy the command puppet outputs as an error, and paste that into a shell it works perfectly.