簡體   English   中英

Windows Puppet代理未連接到AWSOpsWorks Puppet Enterprise主數據庫

[英]Windows Puppet agent does not connect to the AWSOpsWorks Puppet Enterprise master

我使用aws opsworks創建了木偶大師。 而且我能夠將ami linux節點自動添加到人偶主文件中。

當我嘗試通過以下鏈接將Windows 64位節點添加到我的人偶母版時遇到問題https://puppet.com/docs/pe/2017.3/installing/installing_agents.html#install-windows-agents-with -the-MSI-包

我從位置中存在的puppet master中將puppet-agent-x64.msi復制到Windows節點和/ opt / puppetlabs / server / data / packages / public // windows-x86_64- /,然后運行安裝程序來安裝代理。 安裝成功,並且“開始”菜單包含一個Puppet文件夾,其中包含用於手動運行代理,運行Facter以及打開命令提示符以與Puppet工具一起使用的快捷方式。

但是Windows節點未在Puppet Web ui中顯示,當我嘗試運行Puppet Agent時出現此錯誤

"Running Puppet agent on demand ...
Error: Could not request certificate: Error 403 on SERVER: Forbidden request: /puppet-ca/v1/certificate/ca (method :get). Please see the server logs for details.
Exiting; failed to retrieve certificate and waitforcert is disabled
Press any key to continue . . ."

您需要在OpsWorks主allow_unauthenticated_ca設置為true ,然后在其上運行puppet進行更改。 之后,即使您不是從AWS進行配置,也可以選擇安裝代理,或者選擇不使用userdata腳本。

腳步:

  1. 登錄到控制台。
  2. 點擊分類
  3. 在“ PE基礎結構”下,選擇“ PE master”。
  4. 轉到配置選項卡
  5. 尋找類puppet_enterprise::profile::master
  6. 在參數下,選擇allow_unauthenticated_ca並將其設置為true

截圖:

在此處輸入圖片說明

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM