Check you environment path variable. Tar might not find something,
most probably, the gzip executable (not 100% sure on this part). Usually
if something doesn't work in specific cases, but it works in you bash
console, you can make a safe bet on environment variables and/or running
user.
Si
I do have a really strange issue with exec a tar command with puppet
2.6.0. If I run it with puppetmasterd I get the following error
message:
(//my.domain.net//Stage[main]/Workerzone/Build::Install[top]/
Exec[extract-top]/returns) change from notrun to 0 failed: /bin/bash -
c '/usr/sbin/tar -xzvf