--- a/components/puppet/files/solaris/lib/puppet/type/address_properties.rb Fri Aug 08 05:49:12 2014 -0700
+++ b/components/puppet/files/solaris/lib/puppet/type/address_properties.rb Thu Aug 07 18:35:12 2014 -0400
@@ -20,7 +20,7 @@
#
#
-# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
#
Puppet::Type.newtype(:address_properties) do
@@ -47,5 +47,14 @@
newproperty(:properties) do
desc "A hash table of propname=propvalue entries to apply to an
address object"
+
+ def property_matches?(current, desired)
+ desired.each do |key, value|
+ if current[key] != value
+ return :false
+ end
+ end
+ return :true
+ end
end
end