Hi Doug,

On 10 mrt, 14:18, Doug Warner <d...@warner.fm> wrote:
> I'm not sure if puppet can be coerced to do something like this, but I wanted
> to throw it out there as it's a process that seems fairly easy to automate.
>
> To create new mysql slaves my process goes something like this:
<snip>
> I figured I could easily specify the node that is the master and the slave in
> the manifests, but I'm not sure how far this gets me.  I imagine through the
> creative use of exec's and "onlyif"s this should be doable, but I wanted to
> get other people's experiences with automating processes like this.

Although the idea is cool and I'd love to see the module once you have
created it, I doubt this is something you really want to do with
puppet. I see puppet more as a "this is what my machine should look
like" kinda tool. Pushing data for several hours really shouldn't be
part of that, I think. I can imagine it triggering a script in the
background that fetches like the daily backup from a server and builds
the slave the next time puppet runs and it detects the download being
completed, though. But that would still give you puppet errors for
several hours (dependencies not being satisfied), which would indicate
to me it's not the right tool for the job. But maybe that's just me.

--
Kind regards,
Tim

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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