Cloudbreak CLI Reference
Also available as:
PDF

mpack create

Registers an existing management pack with Cloudbreak.

Required options

--name <value> Name for the mpack

--url <value> URL that points to the location of the mpack tarball

Options

--purge Purge existing resources specified in purge-list

--purge-list <value> Comma-separated list of resources to purge (stack-definitions,service-definitions,mpacks). By default (stack-definitions,mpacks) will be purged

--force Force install management pack

--description <value> Description for the LDAP

--server <value> Cloudbreak server address [$CB_SERVER_ADDRESS]

--username <value> Cloudbreak user name (e-mail address) [$CB_USER_NAME]

--password <value> Cloudbreak password [$CB_PASSWORD]

--workspace <value> Name of the workspace where to create the resource

--profile <value> Selects a config profile to use [$CB_PROFILE]

--auth-type <value> Authentication method to use. Values: oauth2, basic [$CB_AUTH_TYPE]

Examples

Registers a new mpack without purging:

cb mpack create --name test-hdp-search --url http://public-repo-1.hortonworks.com/HDP-SOLR/hdp-solr-ambari-mp/solr-service-mpack-3.0.0.tar.gz