ControlTier > controltier-core
 

package-set

Command Reference

Description

Set package data

Define a Package object and its properties.

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

Usage

ctl -m modelutil -c package-set [-arch <>] [-base <>] [-buildtime <>] -depot <> [-description <>] [-filename <>] [-filetype <>] [-installrank <>] [-installroot <>] -name <> [-release <>] [-repourl <>] [-restart <>] -type <Package> [-vendor <>] [-version <>]

Options

Option Description Type Default
arch the package arch string
base the package base string
buildtime the package buildtime string
depot project depot name string ${context.depot}
description the package description string
filename the package filename string
filetype the package fiiletype string
installrank the package installrank string
installroot the package installroot string
name logical package name string
release the package release string
repourl the package repourl string
restart the package restart string
type the package type string Package
vendor the package vendor string
version the package version string

Examples

Define the data for a package not yet defined in the model.

ctl -p demo -m modelutil -c package-set -- -name apache-tomcat-5.5.26.zip -type zip\
		-repourl http://strongbad:8080/jackrabbit/repository/workbench/pkgs/demo/zip/zips/apache-tomcat-5.5.26.zip\
		-base apache-tomcat-5.5.26 -filename apache-tomcat-5.5.26.zip -version 5.5.26 \
		-installroot ${env.CTIER_ROOT}/examples/service-package-deployment