On Fri, Jul 15, 2011 at 10:37 AM, newguy <aimanparv...@gmail.com> wrote: > Hey > Thanks for the help, I was able to download the dump file successfully > but when I try to execute the mysql command I get the following error: > > Could not run Puppet configuration client: 'mysql -uroot -pring > > parasol < download.php?i=hV0wsTfa' is both unqualifed and specified no > > search path at /etc/puppet/environments/abcd/modules/vim/manifests/ > init.pp:25 > > > > here is my exec where am trying to run mysql command: > > exec {"Get db": > command => "mysql -uroot -proot papa < dumpfile.sql", > require => exec["Retrieve dump"], > }
You need to provide the full path to mysql such as /usr/bin/mysql, or supply the path. Nan -- 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.