PatchingJob - createRPMLinuxPatchingJobWithTargetGroup-2
PatchingJob - createRPMLinuxPatchingJobWithTargetGroup-2
Description:
This command creates a patching job using an existing RPMLinux catalog. The job is run against a server group.
This command returns a handle to the newly created Patching Job. The handle can be used in other commands that need to reference the Patching Job.
The jobGroupName argument provides the fully qualified path to the parent group. The targetGroupName argument provides the target group name for the new Patching job. The catalog name provides the fully qualified path for the already defined catalog.
The include/exclude list text file contains entries for smart groups and/or depot objects one on each line. The depot objects and the smart group must be available in the catalog before running this command. To include or exclude a depot object or a smart group, add the following in the include or exclude file:
- (Depot object) NAME#<name of the depot object>
Example: NAME#APSB-0611 - (Smart group) GROUP#<complete path to the smart group>
Example: GROUP#/Catalog/TestCatalog1/smartGroup1
Command input:
Variable Name | Variable Type | Description |
---|---|---|
jobName | String | Name of the job. |
groupName | String | Parent group for this job. |
targetGroupName | String | Name of the target server group. |
catalogName | String | RPMLinux catalog group for this job. |
includeFile | String | Include file path. |
excludeFile | String | Exclude file path. |
setInstallMode | Boolean | True to set the install mode, false otherwise. |
packageNameOptionsForAnalysis | Integer | Specify one of the following package name options for analysis: 1 - By Complete Package Name 2 - By Package Name Only (This is the default option.) |
Example
The following example creates a Patching Job using an existing catalog. The job is run against a CentOS Server group.