summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-05-15 19:22:36 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-05-15 19:22:36 +0000
commitdbedcd7b9892bc41728a4f334464f152d09d54fc (patch)
tree66e06fa8fec48ea00491a728ed24906e6b810812 /lib/puppet/network
parent28f7d6c7ebd56da3014464c82c73a4f98f3406ea (diff)
downloadpuppet-dbedcd7b9892bc41728a4f334464f152d09d54fc.tar.gz
puppet-dbedcd7b9892bc41728a4f334464f152d09d54fc.tar.xz
puppet-dbedcd7b9892bc41728a4f334464f152d09d54fc.zip
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
Diffstat (limited to 'lib/puppet/network')
-rw-r--r--lib/puppet/network/client/master.rb2
-rwxr-xr-xlib/puppet/network/handler/report.rb2
2 files changed, 2 insertions, 2 deletions
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|
diff --git a/lib/puppet/network/handler/report.rb b/lib/puppet/network/handler/report.rb
index ce5176a36..827f5978b 100755
--- a/lib/puppet/network/handler/report.rb
+++ b/lib/puppet/network/handler/report.rb
@@ -65,7 +65,7 @@ class Puppet::Network::Handler
# List each of the reports.
def self.reports
instance_loader(:report).loadall
- @reports.keys
+ loaded_instances(:report)
end
def initialize(*args)