On 11-07-15 02:47 PM, newguy wrote:
> exec {"Get db":
>                 command => "/usr/bin/mysql -uroot -proot papa <
> dumpfile.sql",
>                 require => exec["Retrieve dump"],
>         }

if your .sql file name is written in a similar fashion in your manifests
it probably errors out because it doesn't find it. try using an absolute
path to your dump file.

e.g.:

exec {"Get db":
                command => "/usr/bin/mysql -uroot -proot papa <
/var/backups/mysql/dumpfile.sql",
                require => exec["Retrieve dump"],
        }

-- 
Gabriel Filion

-- 
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