> 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: //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 /etc/puppet/modules/allgemein/manifests/bigbrother.pp:22

My guess is that puppet executes tar from the from directory but
commands like
"cd /usr/local && tar -jxf bb19c.tar.bz2"
or
"tar -jxf /usr/local/bb19c.tar.bz2"
also return that error...

On 29 Jun., 09:53, Rohan McGovern <rohan.mcgov...@nokia.com> wrote:
> On Tuesday 29 June 2010, ext Christian Casar wrote:
>
> > Hey there,
>
> > I'm trying to untar some archives puppet copied onto the clients
> > before but the "untaring" always fails with:
>
> > 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
> > /etc/puppet/modules/allgemein/manifests/bigbrother.pp:22
>
> 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.
>
> --
> Rohan

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

Reply via email to