diff options
Diffstat (limited to 'lib/puppet/client.rb')
-rw-r--r-- | lib/puppet/client.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/puppet/client.rb b/lib/puppet/client.rb index 7998f2ff8..bc5869a76 100644 --- a/lib/puppet/client.rb +++ b/lib/puppet/client.rb @@ -33,9 +33,8 @@ module Puppet class NetworkClient < XMLRPC::Client #include Puppet::Daemon - #@@handlers = [Puppet::FileServer, Puppet::CA, Puppet::Server::Master] - - Puppet::Server.eachhandler { |name, handler| + # add the methods associated with each namespace + Puppet::Server::Handler.each { |handler| interface = handler.interface namespace = interface.prefix |