diff options
| author | Jesse Wolfe <jes5199@gmail.com> | 2010-03-31 17:34:16 -0700 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2010-05-02 17:38:19 +1000 |
| commit | 5abe571e167744ac198960c8e35c699375ec5cf7 (patch) | |
| tree | 695d8b75d7940fd5f81b56b8cb1fc8db6d9d248c /lib | |
| parent | ebd924c22c1049cde5f110c6ec89de4d9358b649 (diff) | |
| download | puppet-5abe571e167744ac198960c8e35c699375ec5cf7.tar.gz puppet-5abe571e167744ac198960c8e35c699375ec5cf7.tar.xz puppet-5abe571e167744ac198960c8e35c699375ec5cf7.zip | |
Bug #3451: Don't leak the terminus class setting from Puppet::Resource::Catalog's spec
This issue causes other specs to fail, because they depend on the
default terminus being unchanged.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/indirector/indirection.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/indirector/indirection.rb b/lib/puppet/indirector/indirection.rb index dc7e58f36..7c3183396 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) |
