changeset 2038 | b64efc6f1fe1 |
parent 1921 | 489d0d0f656f |
--- a/components/puppet/files/solaris/lib/puppet/type/link_properties.rb Fri Aug 08 05:49:12 2014 -0700 +++ b/components/puppet/files/solaris/lib/puppet/type/link_properties.rb Thu Aug 07 18:35:12 2014 -0400 @@ -41,5 +41,14 @@ newproperty(:properties) do desc "A hash table of propname=propvalue entries to apply to the link" + + def property_matches?(current, desired) + desired.each do |key, value| + if current[key] != value + return :false + end + end + return :true + end end end