NAME

FleetConf::Agent::Parser::Stmt::SET - SET commands

SYNOPSIS

NAME Some-Agent
MNEMONIC foo
WORKFLOW Null

PREREQUISITE_SET foo = 1
REQUIRE_SET bar = 2
CHECK_SET baz = 3
SET quux = 4

DESCRIPTION

This command declares and sets variables in the current context.

The BNF for the SET commands is:

agent_command +::= set_command

set_command ::=
    "PREREQUISITE_SET" variable assignment_operator scalar_expression
|   "REQUIRE_SET" variable assignment_operator scalar_expression
|   "CHECK_SET" variable assignment_operator scalar_expression
|   "SET" variable assignment_operator scalar_expression

The PREREQUISITE_SET command is run during the initialization phase. The REQUIRE_SET command is run during the requirements phase. The CHECK_SET command is run during the check phase. The SET command is run during the run phase.

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.