N1 Service Provisioning System 4.1 Reference Guide

installSpec Element attributes

Name 

Type 

Required 

Configurable 

Description 

name 

String 

Yes 

Yes 

The name to use for the resource when it is installed. 

path 

String 

No 

Yes 

The directory path in which to install the resource. Relative directories are considered relative to the installPath attribute of the containing component. If unspecified, the component installPath attribute is used by default. 

permissions 

String 

No 

Yes 

The permissions to assign to this resource when installed, in the format of an octal triplet, as defined by the UNIX chmod command. The first digit represents permissions for the owner of the file, the second is permissions for other users in the file"s group, and the third is permissions for other users. Each digit is the sum of the numbers corresponding to the desired permissions where 1 is execute, 2 is write and 4 is read. So "777" gives everyone read, write and execute permission on the file. If unspecified, the resource is installed with default permissions. 

user 

String 

No 

Yes 

The user to assign as the owner of this resource when installed. If unspecified, the user to use is determined by the plan executor. 

group 

String 

No 

Yes 

The group to assign to this resource when installed. If unspecified, the group to use is determined by the plan executor. 

deploy Mode 

One of: 

ADD_TO 

or 

REPLACE 

No 

Yes 

Specifies the way in which the associated directory resource is deployed. ADD_TO means directory contents will be added to any existing files in the target directory. REPLACE means directory contents will replace all existing files in the target directory. If unspecified, REPLACE is used by default. This attribute is ignored for non-directory resources. 

diffDeploy 

Boolean 

No 

Yes 

Specifies whether the resource should be deployed in differential deploy mode. If unspecified, false is used by default. If differential deploy mode is enabled, then only resources which have not previously been deployed will be deployed.