2.54. hammer puppet-class
Puppet モジュールを検索します。
Usage: hammer puppet-class [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info Show a Puppet class list List all Puppet classes sc-params List all smart class parameters smart-variables List all smart variables Options: -h, --help Print help
2.54.1. hammer puppet-class info
Puppet クラスを表示します。
Usage: hammer puppet-class info [OPTIONS] Options: --environment ENVIRONMENT_NAME Environment name (--environment is deprecated: Use --puppet-environment instead) --environment-id ENVIRONMENT_ID (--environment-id is deprecated: Use --puppet-environment-id instead) --fields FIELDS Show specified fileds or predefined filed 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 --hostgroup HOSTGROUP_NAME Hostgroup name --hostgroup-id HOSTGROUP_ID --hostgroup-title HOSTGROUP_TITLE Hostgroup title --id ID ID of Puppet class --location LOCATION_NAME Location name --location-id LOCATION_ID --location-title LOCATION_TITLE Location title --name NAME Puppet class name --organization ORGANIZATION_NAME Organization name --organization-id ORGANIZATION_ID Organization ID --organization-title ORGANIZATION_TITLE Organization title --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 variables/Parameter | x | x | Smart variables/Default value | x | x | Smart class parameters/ | x | x | Hostgroups/ | x | x | Environments/ | x | x | Parameters/ | x | x | ------------------------------|-----|---------|-----