summaryrefslogtreecommitdiffstats
path: root/lib/puppet/indirector
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/indirector')
-rw-r--r--lib/puppet/indirector/indirection.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/indirector/indirection.rb b/lib/puppet/indirector/indirection.rb
index 35f17768e..06aa19077 100644
--- a/lib/puppet/indirector/indirection.rb
+++ b/lib/puppet/indirector/indirection.rb
@@ -145,6 +145,10 @@ class Puppet::Indirector::Indirection
@terminus_class
end
+ def reset_terminus_class
+ @terminus_class = nil
+ end
+
# Specify the terminus class to use.
def terminus_class=(klass)
validate_terminus_class(klass)