我想在主机所在的同一台机器上测试木偶客户机。我遵循本教程“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