Writing Package Deployment Commands

Parameters for a package deployment command are passed on the command line as --key1=value1, --key2=value2, etc. The package file name is passed on the command line as --file=<full_path_to_the_package_file>. The order of these parameters is arbitrary and may change between invocations of the command.

Task ID

Some commands require a task ID. Typically, this is done if a command must span a reboot (e.g., an operating system upgrade). If a command requires a task ID then needs_task_id must be set to "true" (the default is "false"). If task_id is true, the first parameter passed to the command is the task ID. It is NOT prefixed by any --key=.

Executable File

The "bin" variable is the executable file that corresponds to the command. It must be placed in the handler path specified in handler.path and be executable by eauser.