ControlTier > controltier-core
 

Install

Command Reference

Description

Initializes object workspace.

This command creates the directory referenced ${entity.instance.dir}, calls Install-Module, and then Get-Properties.

Since it is a bootstrapping command it can be run outside of an object context if the the necessary flags are supplied.

static: This command can be run outside of an object context.

Usage

ctl -m Managed-Entity -c Install [-basedir <>] [-depot <>] [-name <>] [-nodir] [-nomodule] [-noproperties] [-subdirs <bin,conf,logs,var>] [-type <${context.module}>]

Options

Option Description Type Default
basedir base directory string ${entity.instance.dir}
depot object depot

Not required unless run outside of object context for bootstrapping.

string ${context.depot}
name object name

Not required unless run outside of object context for bootstrapping.

string ${context.name}
nodir do not create directories

If specified the ${entity.instance.dir} directory is not created.

boolean
nomodule do not update module

If specified the Install-Module command is not executed.

boolean
noproperties do not update properties

If specified the Get-Properties command is not executed.

boolean
subdirs directory list string bin,conf,logs,var / ${entity.dirlist}
type object type

Not required unless run outside of object context for bootstrapping.

string ${context.module} / ${context.type}