此内容没有您所选择的语言版本。

Chapter 17. config-group


Manage Foreman config groups

Usage

# hammer config-group [OPTIONS] SUBCOMMAND [ARG] ...
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

17.1. config-group create

Create a config group

Usage

# hammer config-group create [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --name VALUE
  • --puppet-class-ids LIST
  • --puppet-classes LIST
  • -h, --help – Print help

17.2. config-group delete

Delete a config group

Usage

# hammer config-group <delete|destroy> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --id VALUE
  • --name VALUE – Name to search by
  • -h, --help – Print help

17.3. config-group info

Show a config group

Usage

# hammer config-group <info|show> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --fields LIST – Show specified fields or predefined field sets only. (See below)
  • --id VALUE
  • --name VALUE – Name to search by
  • -h, --help – Print help

Predefined field sets

Expand
FIELDSALLDEFAULTTHIN

Id

x

x

x

Name

x

x

x

Puppetclasses/

x

x

 

17.4. config-group list

List of config groups

Usage

# hammer config-group <list|index> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --fields LIST – Show specified fields or predefined field sets only. (See below)
  • --order VALUE – Sort and order by a searchable field, e.g. <field> DESC
  • --page NUMBER – Page number, starting at 1
  • --per-page VALUE – Number of results per page to return, all to return all results
  • --search VALUE – Filter results
  • -h, --help – Print help

Predefined field sets

Expand
FIELDSALLDEFAULTTHIN

Id

x

x

x

Name

x

x

x

Search and order fields

  • name – string
  • puppetclass – string

17.5. config-group update

Update a config group

Usage

# hammer config-group update [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --id VALUE
  • --name VALUE
  • --new-name VALUE
  • --puppet-class-ids LIST
  • --puppet-classes LIST
  • -h, --help – Print help
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat