Deployment

Controls how module deployment is done.

Actual deployment is done by the Node module (documented separately).

NameDescriptionDefault

groups

List of module deployment groups defining the order of deployment.

["first",

"default",

"last"]

Groups

Groups are used for controlling the deployment order. Groups are processed in the defined order, all modules in a group are deployed before continuing with the next group.

Module group deployment can be verified in the log:

[NodeModule] INFO: Deploying module group: default
[NodeModule] INFO: Deploying module: NodeModuleTestDefault
... module start up logging ...
[NodeModule] INFO: Module group 'default' contained 1 module(s)

Empty groups are OK and will result in the following log:

[NodeModule] INFO: Deploying module group: empty
[NodeModule] INFO: Module group 'empty' contained 0 module(s)

If a module is assigned to an undefined group a warning will printed to the log and the module will not be deployed:

[NodeModule] WARN: Group(s) exist that are not configured for deployment: undefined

Last updated