From 5b44159c1a7e0cfa2cb1afcd32b387ac8deeb8a9 Mon Sep 17 00:00:00 2001 From: ballman Date: Wed, 9 May 2007 12:30:03 +0000 Subject: Removed the testing method: checknewinsync. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2488 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/metatype/evaluation.rb | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'lib') diff --git a/lib/puppet/metatype/evaluation.rb b/lib/puppet/metatype/evaluation.rb index 09495d6d1..ba4d84689 100644 --- a/lib/puppet/metatype/evaluation.rb +++ b/lib/puppet/metatype/evaluation.rb @@ -142,21 +142,6 @@ class Puppet::Type changes end - - private - # FIXARB: This can go away - def checknewinsync(currentvalues) - currentvalues.each { |prop, val| - if prop.respond_to? :new_insync? and prop.new_insync?(val) != prop.insync? - puts "#{prop.name} new_insync? != insync?" - self.devfail "#{prop.name} new_insync? != insync?" - end - } - - properties().each { |prop| - puts "#{prop.name} is missing from current values" if (!currentvalues.include?(prop)) - } - end end # $Id$ -- cgit