FleetConf::Agent - Agent object class for FleetConf
This object should not generally be used directly. This documentation is intended to be a reference on how agent execution works. For information on writing agents, see FleetConf::Agent::Parser. For information on using agents, see FleetConf.
TODO Add documentation on agent runtime semantics.
This module has very little documentation yet because it doesn't work very well yet. Much more work needs to be done to solidify this into a more robust solution.
there are six phases: initialize,
They run in that order.
Initialize runs before the workflow is contacted and no other phase continues if any command in that phase (i.e.,
PREREQUISITE) says not to.
The requirements phase runs prior to taking a lock and check,
and cleanup are skipped if any command in that phase (i.e.,
REQUIRE) says not to.
The check phase runs after acquiring a lock and causes an error if any part fails.
The run phase runs after that and causes an error-commit if any part fails.
The cleanup phase runs after that and causes a rollback if any part fails.
the shutdown phase runs.
The actual semantics of each phase are poorly defined and will be redefined as soon as I can formalize the nature of "better semantics".
Andrew Sterling Hanenkamp, <firstname.lastname@example.org>
Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.
FleetConf is distributed and licensed under the same terms as Perl itself.