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
 
 
 
[root@puppetmaster ~]curl -X GET 
http://puppetdb:8080/v2/facts/operatingsystem
curl: (6) Couldn't resolve host 'puppetdb'
[root@puppetmaster ~]# curl -X GET 
http://localhost:8080/v2/facts/operatingsystem
[ {
  "certname" : "es-w2k8sql2k804.vshimslab.com",
  "name" : "operatingsystem",
  "value" : "windows"
}, {
  "certname" : "infafr00012.nmumarl.lntinfotech.com",
  "name" : "operatingsystem",
  "value" : "CentOS"
}, {
  "certname" : "puppetmaster",
  "name" : "operatingsystem",
  "value" : "CentOS"

-- 
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.

Reply via email to