Re: [Puppet Users] Re: Problem with exec tar

2010-06-30 Thread Alex Howells
On 30 June 2010 09:08, Christian Casar wrote: > I guess in the future I will always put root's $PATH into any exec > path... Not every configuration directive needs to be specified either, IMHO - there are only a few systems where I specify a path and that's usually to add important stuff in /usr

[Puppet Users] Re: Problem with exec tar

2010-06-30 Thread Christian Casar
Thanks for all your help! > Since you're unzipping a bzipped tarball, tar probably needs to run > the `bzip2' command. But, at least on my system, that's > in /usr/bin, not /bin. Find out where the bzip2 command is located > and make sure that's also in path. That's what finally solved my probl

Re: [Puppet Users] Re: Problem with exec tar

2010-06-29 Thread Joe McDonagh
Responses in-line. The single qoutes are a relict from my different approaches to solve the problem... With and without them the same error occurs: err: //allgemein::bigbrother/Exec[untar bb19c]/returns: change from notrun to 0 failed: tar -jxf bb19c.tar.bz2 returned 2 instead of one of [0] at /

Re: [Puppet Users] Re: Problem with exec tar

2010-06-29 Thread Rohan McGovern
On Tuesday 29 June 2010, ext Christian Casar wrote: > > Is this copy-pasted verbatim? Because those single quotes > > around bb19c.tar.bz2 look suspicious, considering you didn't > > ask for them in your puppet config. > > The single qoutes are a relict from my different approaches to > solve the p

[Puppet Users] Re: Problem with exec tar

2010-06-29 Thread Christian Casar
> Is this copy-pasted verbatim? Because those single quotes around > bb19c.tar.bz2 look suspicious, considering you didn't ask for them > in your puppet config. The single qoutes are a relict from my different approaches to solve the problem... With and without them the same error occurs: err: //