diff options
author | Pieter van de Bruggen <pieter@puppetlabs.com> | 2011-07-28 13:14:08 -0700 |
---|---|---|
committer | Pieter van de Bruggen <pieter@puppetlabs.com> | 2011-07-28 13:14:08 -0700 |
commit | bad0442f78d42fbdce3555faefa80886618f0001 (patch) | |
tree | 9c2d93a57d68531384fb521e4449f7eb41a6aba1 | |
parent | ecca900facc6316c8479f937119e34342618257a (diff) | |
parent | bff817c5bea1a1b298a81d5aa4f28c2789125286 (diff) | |
download | puppet-bad0442f78d42fbdce3555faefa80886618f0001.tar.gz puppet-bad0442f78d42fbdce3555faefa80886618f0001.tar.xz puppet-bad0442f78d42fbdce3555faefa80886618f0001.zip |
Merge branch 'tickets/2.7.x/1886' into 2.7.x
* tickets/2.7.x/1886:
(Maint.) Fix spec failures related to leaking state.
-rwxr-xr-x | spec/unit/application/apply_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/application/apply_spec.rb b/spec/unit/application/apply_spec.rb index c9555157c..489f4db36 100755 --- a/spec/unit/application/apply_spec.rb +++ b/spec/unit/application/apply_spec.rb @@ -134,7 +134,9 @@ describe Puppet::Application::Apply do Puppet[:postrun_command] = '' Puppet::Node::Facts.indirection.terminus_class = :memory + Puppet::Node::Facts.indirection.cache_class = :memory Puppet::Node.indirection.terminus_class = :memory + Puppet::Node.indirection.cache_class = :memory @facts = Puppet::Node::Facts.new(Puppet[:node_name_value]) Puppet::Node::Facts.indirection.save(@facts) |