第 3 章 将 Puppet 类和环境导入到 Satellite 中
在将任何类分配给主机之前,将 Puppet 类和环境从安装的 Puppet 模块导入到 Satellite 服务器或任何附加的胶囊服务器。
先决条件
- 确保选择 Any Organization 和 Any Location 作为上下文,否则导入可能会失败。
流程
- 在 Satellite Web UI 中,进入到 Configure > Puppet ENC > Classes 或 Configure > Puppet ENC > Environments。
- 单击右上角的 Import,再选择您要从中导入模块的胶囊。您通常可能会在 Satellite 服务器或任何附加的胶囊服务器之间进行选择。
- 选中 Puppet 环境,以使用左侧的复选框导入。
- 单击 Update,将 Puppet 环境和类导入到 Satellite。
导入会导致通知,如下所示:
Successfully updated environments and Puppet classes from the on-disk Puppet installation