Here, puppetdb is just an example, I have given the fact is I am able to open this URL using localhost & curl command in Linux terminal. However, same I am expecting to get via browser. I am trying to check feasibility of pupet to integrate with third party tool. Here, we are developing in house automation tool & trying to push & execute scripts remotely from puppet master On Wednesday, 18 September 2013 16:59:29 UTC+5:30, Raju Patil wrote:
> 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.
