diff options
| author | Nick Lewis <nick@puppetlabs.com> | 2011-07-21 11:36:03 -0700 |
|---|---|---|
| committer | Nick Lewis <nick@puppetlabs.com> | 2011-07-21 20:09:52 -0700 |
| commit | 4bad729f56c26d8154cd0f20614fa4e478de9d40 (patch) | |
| tree | 4321a8979291df0d046e42375512f297e5ada7cd /lib/puppet/indirector | |
| parent | ba6230b6039d62b0713c9d5e3ff61a68f70ef723 (diff) | |
| download | puppet-4bad729f56c26d8154cd0f20614fa4e478de9d40.tar.gz puppet-4bad729f56c26d8154cd0f20614fa4e478de9d40.tar.xz puppet-4bad729f56c26d8154cd0f20614fa4e478de9d40.zip | |
Remove use of Util::Cacher in FileServing::Configuration
This class was using Util::Cacher for its singleton instance, when that was
unnecessary. The FileServing::Configuration instance already manages whether or
not to reparse its config file, based on whether it has changed. Thus, there is
no need for it to be manually expired via the cacher.
Reviewed-By: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'lib/puppet/indirector')
| -rw-r--r-- | lib/puppet/indirector/file_server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/indirector/file_server.rb b/lib/puppet/indirector/file_server.rb index 46a08c97d..d6a8ab872 100644 --- a/lib/puppet/indirector/file_server.rb +++ b/lib/puppet/indirector/file_server.rb @@ -64,6 +64,6 @@ class Puppet::Indirector::FileServer < Puppet::Indirector::Terminus # Our fileserver configuration, if needed. def configuration - Puppet::FileServing::Configuration.create + Puppet::FileServing::Configuration.configuration end end |
