Your tar command failed. Does "tar -vzxf /var/www/wordpress.tar.gz"
work from a root shell? logoutput => true in the exec resource might
give you more information to help debug.

On Jun 17, 2:50 pm, "lucas.brigida" <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ígidawww.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.

Reply via email to