木偶库存服务使用puppetdb

我有3个服务器设置。 使用乘客(puppet-server1)的木偶大师,使用乘客(puppet-server2)和puppetdb(puppet-server3)的仪表板。

我无法在仪表板中获取库存服务。

木偶大师能够签署证书并递交清单。

节点已经检入仪表板

puppetdb似乎正在工作 – 日志文件如下:

2012-12-13 17:53:10,899 INFO [command-proc-74] [puppetdb.command] [8490148f-865a-45c8-b5b5-2c8824d753dd] [replace facts] puppet-server3.test.net 2012-12-13 17:53:11,041 INFO [command-proc-74] [puppetdb.command] [dfcc5168-06df-41d4-9a97-77b4cd3f4a2b] [replace catalog] puppet-server3.test.net 2012-12-13 17:55:28,600 INFO [command-proc-74] [puppetdb.command] [b2cc0a96-0404-49f5-96ad-19c778508d3d] [replace facts] puppet-client2.test.net 2012-12-13 17:55:28,729 INFO [command-proc-74] [puppetdb.command] [4dc4b8f3-06df-4dad-a89a-92ac80447b99] [replace catalog] puppet-client2.test.net 

puppet master在puppet.conf中configuration如下

 [master] certname = puppet-server1.test.net storeconfigs = true storeconfigs_backend = puppetdb reports = store, http reporturl = http://puppet-server2.test.net/reports/upload 

puppet master在auth.conf中configuration如下

 #access for puppet dashboard facts path /facts auth yes method find, search allow dashboard 

puppet仪表板在/usr/share/puppet-dashboard/config/settings.yml中configuration

 # Hostname of the inventory server. inventory_server: 'puppet-server3.test.net' # Port for the inventory server. inventory_port: 8081 

当我看到仪表板服务器中的库存链接时,清单已打开

但是我得到这个错误:

 Inventory Could not retrieve facts from inventory service: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A 

显然是一个SSL错误 – 但我已经跟随了文档,并不知道如何解决这个问题。 任何人都可以帮忙吗?

奥利

我能够在shane madden的帮助下解决这个问题。 我必须closuresselinux,在我的木偶主服务器上设置为宽容模式。 然后我build立了puppetdb并确保它正在工作。 一旦我有木偶DB和木偶大师连接好,我就安装了木偶仪表板,并把木偶仪表板指向木偶服务器。 库存端口设置为8140。

如果你需要帮助,回复,我可以分享安装说明