diff options
author | Nick Lewis <nick@puppetlabs.com> | 2010-12-16 11:34:09 -0800 |
---|---|---|
committer | Nick Lewis <nick@puppetlabs.com> | 2010-12-16 11:34:09 -0800 |
commit | a2ff092d8302e09aa79f9bb16636f8298316c3c7 (patch) | |
tree | cb67d36e37e252edceef1cd848cc32d679f5d20e /lib/puppet/application/master.rb | |
parent | 4b35402ba85d8842d757becec5c8a7bf4d6f6654 (diff) | |
parent | 480c399f183627f5f588e9dc9f5f86f683c0e468 (diff) | |
download | puppet-a2ff092d8302e09aa79f9bb16636f8298316c3c7.tar.gz puppet-a2ff092d8302e09aa79f9bb16636f8298316c3c7.tar.xz puppet-a2ff092d8302e09aa79f9bb16636f8298316c3c7.zip |
Merge branch 'next'
Diffstat (limited to 'lib/puppet/application/master.rb')
-rw-r--r-- | lib/puppet/application/master.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/application/master.rb b/lib/puppet/application/master.rb index fde474907..879b66c67 100644 --- a/lib/puppet/application/master.rb +++ b/lib/puppet/application/master.rb @@ -51,7 +51,7 @@ class Puppet::Application::Master < Puppet::Application Puppet::Util::Log.newdestination :console raise ArgumentError, "Cannot render compiled catalogs without pson support" unless Puppet.features.pson? begin - unless catalog = Puppet::Resource::Catalog.find(options[:node]) + unless catalog = Puppet::Resource::Catalog.indirection.find(options[:node]) raise "Could not compile catalog for #{options[:node]}" end @@ -139,7 +139,7 @@ class Puppet::Application::Master < Puppet::Application Puppet.settings.use :main, :master, :ssl # Cache our nodes in yaml. Currently not configurable. - Puppet::Node.cache_class = :yaml + Puppet::Node.indirection.cache_class = :yaml # Configure all of the SSL stuff. if Puppet::SSL::CertificateAuthority.ca? |