I was doing this all wrong as Peter pointed out. I had to make sure of the following:
1 - auth.conf any auth config for facts and inventory on the puppet master had to go above this entry # this one is not stricly necessary, but it has the merit # of showing the default policy, which is deny everything else path / auth any 2 - the puppet inventory server was the puppet-master not the puppetdb 3 - the inventory port on the puppet master was 8140 Got it working with this config Cheers, Oli On Friday, December 14, 2012 4:44:28 PM UTC, vioilly wrote: > > Hi, > > I have tried this config. One thing I have noticed is that my puppet > master is not listening on port 8081. When I put the puppet master, in my > case puppet-server1, in to /usr/share/puppet-dashboard/config/settings.yml > on the dashboard server as follows: > > > # Hostname of the inventory server. > inventory_server: 'puppet-server1.tcl-oob.net' > > # Port for the inventory server. > inventory_port: 8081 > > > I have also tried port 80 and 8140. But this is not working for me. > > Could not retrieve facts from inventory service: 403 "Forbidden" > > Any ideas? > > Oli > > On Fri, Dec 14, 2012 at 2:25 PM, Peter Bukowinski <pmb...@gmail.com>wrote: > >> On Dec 13, 2012, at 4:55 PM, vioilly wrote: >> >> Hi, >> >> I believe I have done that. >> >> So on my puppet master (puppet-server1) I have modified the puppet.conf >> file and added the following: >> >> [master] >> >> storeconfigs = true >> storeconfigs_backend = puppetdb >> >> Also puppetdb.conf >> >> [master] >> storeconfigs = true >> storeconfigs_backend = puppetdb >> >> >> and added the route.yaml file >> >> I did also edit the auth.conf file - do I need to do on the puppetmaster ? >> >> On the dashboard server I have turned on the inventory service and added >> the puppetdb server as the invenory_server - wher else would it know how to >> connect to the puppetdb ? >> >> I have also made sure all the certs have been signed by the puppet CA >> server and are valid >> >> Thanks, >> Oli >> >> >> The puppetdb plugins you installed on your puppetmaster handle the >> communication with puppetdb. Instead of storying inventory data in a local >> database, your puppetmaster will send them to puppetdb. So inventory_server >> in dashboard's settings.yml should be pointing at your puppetmaster, not >> the puppetdb server. >> >> Once you have all the settings correct, just make sure auth.conf on your >> puppetmaster is configured to allow access to facts. Mine inventory-related >> entry looks like this: >> >> path /facts >> auth yes >> method find, search >> allow dashboard, puppet >> >> -- >> Peter >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/ghMiXM0G5O4J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.