1.3. 启用与 Satellite 集成的 Puppet
默认情况下,卫星没有配置任何 Puppet 集成。您需要根据情况启用集成。这意味着,您可以配置 Satellite 以在卫星服务器或胶囊上管理和部署 Puppet 服务器。此外,您还可以将 Puppet 服务器部署到外部的卫星,并将它与卫星集成,以进行报告、事实和外部节点分类(ENC)。
流程
启用 Puppet 集成并在 Satellite 服务器中安装 Puppet 服务器:
# satellite-installer --enable-foreman-plugin-puppet \ --enable-foreman-cli-puppet \ --foreman-proxy-puppet true \ --foreman-proxy-puppetca true \ --foreman-proxy-content-puppet true \ --enable-puppet \ --puppet-server true \ --puppet-server-foreman-ssl-ca /etc/pki/katello/puppet/puppet_client_ca.crt \ --puppet-server-foreman-ssl-cert /etc/pki/katello/puppet/puppet_client.crt \ --puppet-server-foreman-ssl-key /etc/pki/katello/puppet/puppet_client.key
如果要在胶囊上使用 Puppet 集成,请启用 Puppet 集成并在胶囊上安装 Puppet 服务器:
# satellite-installer --foreman-proxy-puppet true \ --foreman-proxy-puppetca true \ --foreman-proxy-content-puppet true \ --enable-puppet \ --puppet-server true \ --puppet-server-foreman-ssl-ca /etc/pki/katello/puppet/puppet_client_ca.crt \ --puppet-server-foreman-ssl-cert /etc/pki/katello/puppet/puppet_client.crt \ --puppet-server-foreman-ssl-key /etc/pki/katello/puppet/puppet_client.key \ --puppet-server-foreman-url "https://satellite.example.com"
输入您的 Satellite 服务器的 URL,作为
--puppet-server-foreman-url
参数的值。