From dbedcd7b9892bc41728a4f334464f152d09d54fc Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 15 May 2007 19:22:36 +0000 Subject: A round of fixes so unit tests pass; most of the failures were from the merging of the transaction-refactor branch git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2517 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/network/client/master.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/network/client') diff --git a/lib/puppet/network/client/master.rb b/lib/puppet/network/client/master.rb index e7739ba34..7eb009b2d 100644 --- a/lib/puppet/network/client/master.rb +++ b/lib/puppet/network/client/master.rb @@ -544,7 +544,7 @@ class Puppet::Network::Client::Master < Puppet::Network::Client # Have the facts changed since we last compiled? def facts_changed?(facts) - oldfacts = Puppet::Util::Storage.cache(:configuration)[:facts].dup + oldfacts = (Puppet::Util::Storage.cache(:configuration)[:facts] || {}).dup newfacts = facts.dup self.class.dynamic_facts.each do |fact| [oldfacts, newfacts].each do |facthash| -- cgit