> If I run below command on puppet master. I am able to get output pasted > here. > But the same information, I am trying to capture via browser using > http://puppetdb:8080/v2/facts/operatingsystem but not working
Well, a browser probably won't work trying to traverse that URL anyway, since a browser will send Accept: text/html instead of application/json, however I'm not quite sure what you are trying to achieve. In short, this is an API end-point, not for browsers to traverse. > [root@puppetmaster ~]curl -X GET > http://puppetdb:8080/v2/facts/operatingsystem > curl: (6) Couldn't resolve host 'puppetdb' The clue here is "Couldn't resolve host 'puppetdb'" ... this is a host resolution issue occurs everywhere when resolution fails, nothing to do with PuppetDB specifically. Check your Host entries to make sure that the entry exists: http://en.wikipedia.org/wiki/Hosts_(file) ken. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
