NAME

FleetConf::Agent::Parser::Stmt::PREREQUISITE - PREREQUISITE command

SYNOPSIS

NAME Some-Agent
MNEMONIC foo
WORKFLOW Null

PREREQUISITE hostname() = "onlyhere"

DESCRIPTION

The PREREQUISITE command runs during the initialize phase and can be used to determine whether or not the workflow should be contacted at all. If any prerequisite fails, then all other phases are skipped.

The BNF for this command is:

agent_command +::= prerequisite_command

prerequisite_command ::= "PREREQUISITE" boolean_expression EOL

AUTHOR

Andrew Sterling Hanenkamp, <hanenkamp@users.sourceforge.net>

COPYRIGHT AND LICENSE

Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.

FleetConf is distributed and licensed under the same terms as Perl itself.