ControlTier Inc. > CTL
 
Font size:      

module.properties

Overview

This file contains the metadata describing the module. Command handlers can read the file using the following code. Note that the ${module.dir} property will be defined by the command dispatcher.

<property file="${module.dir}/module.properties"/>

Common

The table below lists the properties defined for any module

PropertyDescription
module.nameName of the module
module.commandsComma separated list of commands.
modules.descriptionDescription of the module and its use.
module.notifyIf true sends notifications.
module.notify.emailEmail address to send notifications.
module.versionModule version number.

Example

module.name=Apache
module.commands=Start, Update, Status, Stop, PackagesGetAll, Configure
module.description=Module for controlling apache deployments
module.transforms.dir=/usr/local/httpd/var
module.notify=true
module.notify.email=admin@domain
module.version=55

Super Modules

This table lists the properties that are required to describe super module dependencies.

PropertyDescription
module.supermodulesComma separated list of super modules.
module.supermodule.module-name.versionVersion number of super module, module-name.
module.commands.command-name.inheritedName of super module command-name is inherited from.

Example

module.supermodules=Packages
module.commands.PackagesGetAll.inherited=Packages
module.supermodule.Packages.version=4