Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add some comments

  • Loading branch information...
commit 42b07def1357164115cb4f3471b2061e00e1028c 1 parent 76c4cca
R.I.Pienaar authored June 13, 2012
9  discovery/puppetdb/discovery/puppetdb.rb
... ...
@@ -1,11 +1,18 @@
1 1
 require 'net/http'
2 2
 require 'net/https'
3 3
 
  4
+# Proof of Concept PuppetDB integration for mcollective discovery
  5
+# capable of supporting class, fact and identity filters.
  6
+#
  7
+# Final incorporation into mcollective would depend on the
  8
+# http://projects.puppetlabs.com/issues/14763 being closed
  9
+#
  10
+# There are some hard coded hostnames etc here, so just a POC
4 11
 module MCollective
5 12
   class Discovery
6 13
     class Puppetdb
7 14
       def self.discover(filter, timeout, limit=0, client=nil)
8  
-        http = Net::HTTP.new('puppetdb.devco.net', 443)
  15
+        http = Net::HTTP.new('puppetdb.xx.net', 443)
9 16
         http.use_ssl = true
10 17
         http.verify_mode = OpenSSL::SSL::VERIFY_NONE
11 18
 

0 notes on commit 42b07de

Please sign in to comment.
Something went wrong with that request. Please try again.