2.15. hammer config-group
設定グループを操作します。
Usage: hammer config-group [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a config group delete, destroy Delete a config group info, show Show a config group list, index List of config groups update Update a config group Options: -h, --help Print help
2.15.1. hammer config-group create
設定グループを作成します。
Usage: hammer config-group create [OPTIONS] Options: --name NAME --puppet-class-ids PUPPET_CLASS_IDS Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --puppet-classes PUPPET_CLASS_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters -h, --help Print help
2.15.2. hammer config-group delete
設定グループを削除します。
Usage: hammer config-group <delete|destroy> [OPTIONS] Options: --id ID --name NAME Name to search by -h, --help Print help
2.15.3. hammer config-group info
設定グループを表示します。
Usage: hammer config-group <info|show> [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 --name NAME Name to search by -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Name | x | x | x Puppetclasses/ | x | x | ---------------|-----|---------|-----
2.15.4. hammer config-group list
設定グループの一覧を表示します。
Usage: hammer config-group <list|index> [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 --order ORDER Sort field and order, eg. ‘id DESC’ --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return, 'all' to return all results --search SEARCH Filter results -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | x | x | x -------|-----|---------|----- Search / Order fields: class string name string
2.15.5. hammer config-group update
設定グループを更新します。
Usage: hammer config-group update [OPTIONS] Options: --id ID --name NAME Name to search by --new-name NEW_NAME --puppet-class-ids PUPPET_CLASS_IDS Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --puppet-classes PUPPET_CLASS_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters -h, --help Print help