2.59. hammer puppet-class

Puppet モジュールを検索します。

Usage:
    hammer puppet-class [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 info, show                    Show a Puppet class
 list, index                   List all Puppet classes
 sc-params                     List all smart class parameters

Options:
 -h, --help                    Print help

2.59.1. hammer puppet-class info

Puppet クラスを表示します。

Usage:
    hammer puppet-class <info|show> [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME                Environment name (--environment is deprecated: Use --puppet-environment[-id] instead)
 --environment-id ENVIRONMENT_ID               (--environment-id is deprecated: Use --puppet-environment[-id] instead)
 --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
 --host HOST_NAME                              Host name
 --host-id HOST_ID                             ID of host
 --hostgroup HOSTGROUP_NAME                    Hostgroup name
 --hostgroup-id HOSTGROUP_ID                   ID of host group
 --hostgroup-title HOSTGROUP_TITLE             Hostgroup title
 --id ID                                       ID of Puppet class
 --location LOCATION_NAME                      Set the current location context for the request
 --location-id LOCATION_ID                     Set the current location context for the request
 --location-title LOCATION_TITLE               Set the current location context for the request
 --name NAME                                   Puppet class name
 --organization ORGANIZATION_NAME              Set the current organization context for the request
 --organization-id ORGANIZATION_ID             Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE       Set the current organization context for the request
 --puppet-environment PUPPET_ENVIRONMENT_NAME  Puppet environment name
 --puppet-environment-id PUPPET_ENVIRONMENT_ID
 -h, --help                                    Print help

Predefined field sets:
  ------------------------|-----|---------|-----
  FIELDS                  | ALL | DEFAULT | THIN
  ------------------------|-----|---------|-----
  Id                      | x   | x       | x
  Name                    | x   | x       | x
  Smart class parameters/ | x   | x       |
  Hostgroups/             | x   | x       |
  Environments/           | x   | x       |
  Parameters/             | x   | x       |
  ------------------------|-----|---------|-----