This is definitely possible. You can manage services like mysql with puppet: http://docs.puppetlabs.com/references/stable/type.html#service, and you could use a puppet exec resource to to import: http://docs.puppetlabs.com/references/stable/type.html#exec. You may also want to check for modules that deal with mysql on the puppet forge: http://forge.puppetlabs.com/modules?q=mysql&commit=Go
Sorry for the slow mailing list response, but questions like this are better directed to the puppet-users mailing list. That list is much more active in answer how to use puppet, while this dev list better for questions about developing puppet (how to contribute, system internals, ruby and testing issues, etc). Matt On Thu, Jul 14, 2011 at 9:15 PM, newguy <[email protected]> wrote: > Hi guys > I want my puppet server to start mysql on the client and import a > database from a sql file available with the client. > Is it possible to do this with puppet? Please help. > > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > > -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR http://bit.ly/puppetconfsig -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
