2.12. hammer capsule

Manipulate capsule

Usage:
    hammer capsule [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 content                       Manage the capsule content
 create                        Create a capsule
 delete, destroy               Delete a capsule
 import-classes                Import puppet classes from puppet Capsule
 info, show                    Show a capsule
 list, index                   List all capsules
 refresh-features              Refresh capsule features
 update                        Update a capsule

Options:
 -h, --help                    Print help

2.12.1. hammer capsule content

Manage the capsule content

Usage:
    hammer capsule content [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-lifecycle-environment        Add lifecycle environments to the capsule
 available-lifecycle-environments List the lifecycle environments not attached to the capsule
 cancel-synchronization           Cancel running capsule synchronization
 info                             Get current capsule synchronization status
 lifecycle-environments           List the lifecycle environments attached to the capsule
 remove-lifecycle-environment     Remove lifecycle environments from the capsule
 synchronization-status           Get current capsule synchronization status
 synchronize                      Synchronize the content to the capsule

Options:
 -h, --help                    Print help

2.12.1.1. hammer capsule content add-lifecycle-environment

Add lifecycle environments to the capsule

Usage:
    hammer capsule content add-lifecycle-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME                      Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead)
 --environment-id ENVIRONMENT_ID                     (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --id ID                                             Id of the capsule
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --name NAME                                         Name to search by
 --organization NAME                                 Organization name
 --organization-id ID                                Organization ID
 -h, --help                                          Print help

2.12.1.2. hammer capsule content available-lifecycle-environments

List the lifecycle environments not attached to the capsule

Usage:
    hammer capsule content available-lifecycle-environments [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID                                 Id of the capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Id of the organization to limit environments on
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

Predefined field sets:
  -------------|-----|---------|-----
  FIELDS       | ALL | DEFAULT | THIN
  -------------|-----|---------|-----
  ID           | x   | x       | x
  Name         | x   | x       | x
  Organization | x   | x       |
  -------------|-----|---------|-----

2.12.1.3. hammer capsule content cancel-synchronization

Cancel running capsule synchronization

Usage:
    hammer capsule content cancel-synchronization [OPTIONS]

Options:
 --id ID                       Id of the capsule
 --name NAME                   Name to search by
 -h, --help                    Print help

2.12.1.4. hammer capsule content info

Get current capsule synchronization status

Usage:
    hammer capsule content info [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID                                 Id of the capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Id of the organization to get the status for
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

Predefined field sets:
  -------------------------------------------------------------------|-----|--------
  FIELDS                                                             | ALL | DEFAULT
  -------------------------------------------------------------------|-----|--------
  Lifecycle Environments/Name                                        | x   | x
  Lifecycle Environments/Organization                                | x   | x
  Lifecycle Environments/Content Views/Name                          | x   | x
  Lifecycle Environments/Content Views/Composite                     | x   | x
  Lifecycle Environments/Content Views/Last Published                | x   | x
  Lifecycle Environments/Content Views/Content/Hosts                 | x   | x
  Lifecycle Environments/Content Views/Content/Products              | x   | x
  Lifecycle Environments/Content Views/Content/Yum repos             | x   | x
  Lifecycle Environments/Content Views/Content/Container Image repos | x   | x
  Lifecycle Environments/Content Views/Content/Packages              | x   | x
  Lifecycle Environments/Content Views/Content/Package groups        | x   | x
  Lifecycle Environments/Content Views/Content/Errata                | x   | x
  Lifecycle Environments/Content Views/Content/Puppet modules        | x   | x
  -------------------------------------------------------------------|-----|--------

2.12.1.5. hammer capsule content lifecycle-environments

List the lifecycle environments attached to the capsule

Usage:
    hammer capsule content lifecycle-environments [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID                                 Id of the capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Id of the organization to limit environments on
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

Predefined field sets:
  -------------|-----|---------|-----
  FIELDS       | ALL | DEFAULT | THIN
  -------------|-----|---------|-----
  ID           | x   | x       | x
  Name         | x   | x       | x
  Organization | x   | x       |
  -------------|-----|---------|-----

2.12.1.6. hammer capsule content remove-lifecycle-environment

Remove lifecycle environments from the capsule

Usage:
    hammer capsule content remove-lifecycle-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME                      Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead)
 --environment-id ENVIRONMENT_ID                     (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --id ID                                             Id of the capsule
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --name NAME                                         Name to search by
 --organization NAME                                 Organization name
 --organization-id ID                                Organization ID
 -h, --help                                          Print help

2.12.1.7. hammer capsule content synchronization-status

Get current capsule synchronization status

Usage:
    hammer capsule content synchronization-status [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID                                 Id of the capsule
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Id of the organization to get the status for
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

Predefined field sets:
  --------------------------------------|-----|--------
  FIELDS                                | ALL | DEFAULT
  --------------------------------------|-----|--------
  Last sync                             | x   | x
  Status                                | x   | x
  Currently running sync tasks/Task id  | x   | x
  Currently running sync tasks/Progress | x   | x
  Last failure/Task id                  | x   | x
  Last failure/Messages                 | x   | x
  --------------------------------------|-----|--------

2.12.1.8. hammer capsule content synchronize

Synchronize the content to the capsule

Usage:
    hammer capsule content synchronize [OPTIONS]

Options:
 --async                                             Do not wait for the task
 --environment ENVIRONMENT_NAME                      Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead)
 --environment-id ENVIRONMENT_ID                     (--environment-id is deprecated: Use --lifecycle-environment-id instead)
 --id ID                                             Id of the capsule
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --name NAME                                         Name to search by
 --organization NAME                                 Organization name
 --organization-id ID                                Organization ID
 --skip-metadata-check SKIP_METADATA_CHECK           Skip metadata check on each repository on the capsule
                                                     One of true/false, yes/no, 1/0.
 -h, --help                                          Print help