Hello,

I'm pondering what is the best way to approach this problem( without 
MCollective).

I have a serverA than will run a DB backup copy it over to serverB, then 
serverB do restore then notify serverA for it to execute the next phase of 
action.

This scenario will have to take at least four occurences back and forth between 
the two servers, this is to setup a log shipping for a DB server.

In my mind I can think of;

A) scp a file as flag every after execution between servers so it will only 
proceed to next step if flag file is present.
B) Export an Exec resources from one server to another
C) Create a wrapper script for tasks intended for serverB, execute the script 
from serverA using Exec resource.

I'm biased on B) if it's doable as I would love to have this pure DSL as much 
as possible but what would be the downside, performance?


Appreciate any input and further ideas.

cheers lupin

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4ccb7b53-4f55-4eae-9b6f-a2802bde180f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to