summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-09 22:51:55 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-09 22:51:55 +0000
commitb5344f2acbf447be853af78f34a4b1562ae060f2 (patch)
tree01094480b5eaa63e3792b9b489b102dbab3793e7 /test/lib
parent8f9264bcc30312cc927eac72c66415eae7b69e88 (diff)
downloadpuppet-b5344f2acbf447be853af78f34a4b1562ae060f2.tar.gz
puppet-b5344f2acbf447be853af78f34a4b1562ae060f2.tar.xz
puppet-b5344f2acbf447be853af78f34a4b1562ae060f2.zip
Fixing the problem reported by Adnet Ghislain where facts do not load on later runs.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1757 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/puppettest.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/puppettest.rb b/test/lib/puppettest.rb
index e5192ccc7..c8c8b077d 100644
--- a/test/lib/puppettest.rb
+++ b/test/lib/puppettest.rb
@@ -81,6 +81,8 @@ module PuppetTest
$user = nonrootuser().uid.to_s
$group = nonrootgroup().gid.to_s
end
+
+ Puppet.config.clear
Puppet[:user] = $user
Puppet[:group] = $group