我想在主機所在的同一臺機器上測試木偶客戶機。我遵循本教程「http://www.elsotanillo.net/2011/08/installing-puppet-master-and-client-in-the-same-host-the-debian-way/」。他說,在適當的時候生成SSL是保持主機和客戶機在一臺機器上成功通信的訣竅。我殺死了puppet master進程,生成puppet.conf文件,就像他在該鏈接中提供的那樣,安裝了puppet client,但是當我嘗試使用下面的命令生成SSL時。它失敗了。你可以看到下面的日誌。一臺機器上的木偶主機和客戶機
puppetd --no-守護進程--onetime --verbose --waitforcert 30
I replaced puppetd with puppet agent to make it work in latest version of puppet
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Connection timed out - connect(2)
Info: Retrieving pluginfacts
Error: /File[/home/lhdadmin/.puppet/var/facts.d]: Failed to generate additional resources using 'eval_generate': Connection timed out - connect(2)
Error: /File[/home/lhdadmin/.puppet/var/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://puppet/pluginfacts: Connection timed out - connect(2)
Info: Retrieving plugin
Error: /File[/home/lhdadmin/.puppet/var/lib]: Failed to generate additional resources using 'eval_generate': Connection timed out - connect(2)
Error: /File[/home/lhdadmin/.puppet/var/lib]: Could not evaluate: Could not retrieve file metadata for puppet://puppet/plugins: Connection timed out - connect(2)
我試圖安裝puppetdb以爲那就是缺失的組件可以觸發上述錯誤,但它找不到puppetdb模塊來安裝。見下文
須藤木偶資源包puppetdb錯誤確保=最新
Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppetdb' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package puppetdb Error: /Package[puppetdb]/ensure: change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppetdb' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package puppetdb
包{ 'puppetdb':確保=> '清除',}
我是否需要puppetdb才能使用? – Kenshin