I tried the path /usr/bin but it showed the following error: change from notrun to 0 failed: /usr/bin/mysql -uroot -proot papa < filedump.sql returned 1 instead of one of [0] at /etc/puppet/ping/ modules/vim/manifests/init.pp:29 exec {"Get db": command => "/usr/bin/mysql -uroot -proot papa < dumpfile.sql", require => exec["Retrieve dump"], } Thanks for your efforts On Jul 15, 10:41 am, Nan Liu <n...@puppetlabs.com> wrote: > 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.