Simple question, but does wordpress.tar.gz exist in /var/www/ ?

I would expect that you would want your tar exec to depend on whatever is
deploying the wordpress tar.gz file (another Exec or a File resource), so
that you know it's there before you try to use it.

--
Nathan Clemons
http://www.livemocha.com
The worlds largest online language learning community



On Fri, Jun 17, 2011 at 6:14 AM, lucas.brig...@ymail.com <
grillobri...@gmail.com> wrote:

> Hi!
>
> I'm doing a module for the "puppet" for WordPress will implement.
>
> I'm having problems with this line:
>
> exec { "tar -vzxf ${downdir}wordpress.tar.gz":
>                 path =>
> ["/usr/local/bin","/opt/local/bin","/usr/bin","/usr/sbin"],
>         }
>
>
> And the error generated is this:
>
> err: /Stage[main]//Node[lucas.com.br]/Wordpress::Install[ ]/Exec[tar -vzxf
> /var/www/wordpress.tar.gz]/returns: change from notrun to 0 failed: tar
> -vzxf /var/www/wordpress.tar.gz returned 1 instead of one of [0] at
> /etc/puppet/modules/wordpress/manifests/install.pp:40
>
>
>
> Can anyone help me?
>
>
>
>
>
> --
> Lucas Pereira BrĂ­gida
> www.codebroken.wordpress.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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