ControlTier > controltier-elements
 

Deploy

Command Reference

Description

automates installation and project configuration for a new controltier client

Executes the Deployment workflow for the ControlTier client installation. The behavior of the Deploy depends on configured attributes and/or supplied parameters. ControlTier implements a convention where it may prepend the username in the name of the Node object. This is to distinguish multiple ControlTier clients that may reside on the same machine where only the user differs. This will prevent this object from "colliding" between different client installs. The following behavior is noted:

If targetUser (established by default or explicit parameter) is the same user as the local user, the name of resulting Node object will be the name of the targetHostname. This is consistent with how ssh works in that the remote user is assumed to be the same as the local user.

If targetUser differs from the local user, the name of resulting Node object will have the "<targetUser>." prefixed to the targetHostname.

Usage

ctl -t ClientInstaller -o <objectname> -c Deploy [-cygwinClient <>] -targetHostname <> [-targetUser <>]

Workflow

  1. configureClient

Options

Option Description Type Default
cygwinClient optional, defaults to false, indicating target host is a cygwin client

cygwinClient parameter defaults to the cygwinClient attribute if set, see ClientInstallerCygwinClient type

string ${entity.attribute.cygwinClient}
targetHostname required, client target hostname string
targetUser optional, client target user overrides local or configured user

targetUser parameter defaults to the targetUser attribute if set, see ClientInstallerTargetUser type

string ${entity.attribute.targetUser}