I try to download a tar.gz
file and uncompress it on /tmp/apps
.
However i don't want to uncompress it if the directory already exists.
If the file exists or even doesn't exist it is downloaded and uncompressed.
I cant find my code is missing a parameters on my exec
block or if I made a mistake somewhere else.
I'm using Puppet 3.8.