8.2. Puppet デプロイメントを使用した SCAP コンテンツの伝播
この手順を使用すると、Puppet デプロイメント方法の範囲内で、ロードバランサーを介して Security Content Automation Protocol (SCAP) コンテンツをプロモートできます。
前提条件
- コンプライアンスポリシーの Puppet デプロイメント向けに Satellite を設定している。詳細は、Red Hat Satellite の管理 の コンプライアンスポリシーのデプロイメント方法の設定 を参照してください。
手順
-
Satellite Web UI で Configure > Classes に移動して、
foreman_scap_clientをクリックします。 - Smart Class Parameter タブをクリックします。
-
Smart Class Parameter ウィンドウの左側のペインで、
portをクリックします。 - Default Behavior エリアで、Override チェックボックスを選択します。
-
Key Type の一覧から
integerを選択します。 -
Default Value フィールドに、
9090と入力します。 -
Smart Class Parameter ウィンドウの左側のペインで、
serverをクリックします。 - Default Behavior エリアで、Override チェックボックスを選択します。
-
Key Type の一覧から
stringを選択します。 -
Default Value フィールドに、ロードバランサーの FQDN (
loadbalancer.example.comなど) を入力します。 - Smart Class Parameter ウィンドウの左下のペインで、Submit をクリックします。
Puppet を使用したコンプライアンスポリシーのデプロイに進みます。詳細は以下を参照してください。
- Red Hat Satellite の管理 の Puppet を使用したホストグループへのポリシーのデプロイ
- Red Hat Satellite の管理 の Puppet を使用したホストへのポリシーのデプロイ
検証
クライアント上で、
/etc/foreman_scap_client/config.yamlファイルに次の行が含まれていることを確認します。# Foreman proxy to which reports should be uploaded :server: 'loadbalancer.example.com' :port: 9090
# Foreman proxy to which reports should be uploaded :server: 'loadbalancer.example.com' :port: 9090Copy to Clipboard Copied! Toggle word wrap Toggle overflow