Mark Burgess wrote:
There is a failover option in copy. Why is no one discussing that?
Correct me if I misunderstood, but failover= in copy lets me define a
class when the copy fails, doesn't it? So in order to re-try the copy
from a different server, I would have to restate the same copy with the
failover server, activated by my failover class? Or could I do
something along the following lines:
control:
AllowRedefinitionOf = ( server )
AddInstallable = ( server_fail )
server = ( primaryhost )
server_fail::
server = ( failoverhost )
copy:
$(server)/some/file dest=/some/file failover=server_fail
Would cfengine's second pass take into account the changed definition,
or not? That would actually be quite nice for a single layer failover
scenario.
Alex
--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 / fax +33-1 42 68 18 29
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine