diff options
author | Matt Robinson <matt@puppetlabs.com> | 2010-11-05 11:37:27 -0700 |
---|---|---|
committer | Paul Berry <paul@puppetlabs.com> | 2011-02-17 15:18:23 -0800 |
commit | 8a485608e2941ff8c7ecc706c21f906d59302dd6 (patch) | |
tree | 13280ce802707d5a8d52e2d7a06d5ab2610d496d /lib/puppet/indirector | |
parent | e6870f6d87b354e30a537eff4a8e98120c05d693 (diff) | |
download | puppet-8a485608e2941ff8c7ecc706c21f906d59302dd6.tar.gz puppet-8a485608e2941ff8c7ecc706c21f906d59302dd6.tar.xz puppet-8a485608e2941ff8c7ecc706c21f906d59302dd6.zip |
(#5150) Make fact REST terminus configurable to connect to inventory service
Puppet masters can now set the inventory_server and inventory_port
option to point to another puppet master that will function as the
central inventory service. When agents connect to the
puppet master, this will send fact data from the puppet master over REST
to the inventory service.
The puppet master itself will still store the client fact data in the
local yaml dir by setting the cache class to yaml.
Getting puppet masters to talk to each other using certs is difficult.
Paired-with: Jesse Wolfe <jesse@puppetlabs.com>
Diffstat (limited to 'lib/puppet/indirector')
-rw-r--r-- | lib/puppet/indirector/facts/rest.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/indirector/facts/rest.rb b/lib/puppet/indirector/facts/rest.rb index 07491fc77..e2afa14b2 100644 --- a/lib/puppet/indirector/facts/rest.rb +++ b/lib/puppet/indirector/facts/rest.rb @@ -3,4 +3,6 @@ require 'puppet/indirector/rest' class Puppet::Node::Facts::Rest < Puppet::Indirector::REST desc "Find and save facts about nodes over HTTP via REST." + use_server_setting(:inventory_server) + use_port_setting(:inventory_port) end |