6.2. 全局覆盖智能类参数


您可以将 Puppet 类导入到 Satellite 服务器后,您可以配置 Puppet 类。这个示例覆盖 ntp 服务器的默认列表。

流程

  1. 在 Satellite Web UI 中,进入到 Configure > Puppet ENC > Classes
  2. 选择 ntp Puppet 类以更改其配置。
  3. 选择 Smart Class Parameter 选项卡并搜索 服务器
  4. 确保已选中 Override 复选框。
  5. Parameter Type 下拉菜单设置为 数组
  6. 将 ntp 服务器列表作为默认值 插入

    ["0.de.pool.ntp.org","1.de.pool.ntp.org","2.de.pool.ntp.org","3.de.pool.ntp.org"]

    描述阵列的替代方法是 yaml 语法:

    - 0.de.pool.ntp.org
    - 1.de.pool.ntp.org
    - 2.de.pool.ntp.org
    - 3.de.pool.ntp.org
  7. 单击 Submit 以更改 Puppet 模块 ntp 的默认配置。
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2026 Red Hat
返回顶部