summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/handler/master.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-09-25 00:43:15 -0500
committerLuke Kanies <luke@madstop.com>2007-09-25 00:43:15 -0500
commit4679f4dcc110e3362b0097efe1d5a416c659611b (patch)
treed8dd9aa3f220c7a1d8e3cb0d486e1a7bba7276f7 /lib/puppet/network/handler/master.rb
parentc3c3e519219ad80ac07d21c74849fbc4246c9d7a (diff)
parentcdc8ea6e81c1b5eba5ea784bb7079c4c1f3965a4 (diff)
Merge branch 'indirection' of git://reductivelabs.com/puppet-luke
Diffstat (limited to 'lib/puppet/network/handler/master.rb')
-rw-r--r--lib/puppet/network/handler/master.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/puppet/network/handler/master.rb b/lib/puppet/network/handler/master.rb
index c8db277ba..030950c61 100644
--- a/lib/puppet/network/handler/master.rb
+++ b/lib/puppet/network/handler/master.rb
@@ -74,7 +74,7 @@ class Puppet::Network::Handler
client, clientip = clientname(client, clientip, facts)
# Pass the facts to the fact handler
- fact_handler.set(client, facts)
+ Puppet::Node::Facts.new(client, facts).save
# And get the configuration from the config handler
begin
@@ -134,13 +134,6 @@ class Puppet::Network::Handler
return facts
end
- def fact_handler
- unless defined? @fact_handler
- @fact_handler = Puppet::Network::Handler.handler(:facts).new :local => local?
- end
- @fact_handler
- end
-
# Translate our configuration appropriately for sending back to a client.
def translate(config)
if local?