lib/puppet/type/group.rb
# Calculates the actual should value given the current and
# new values. This is only used in should_to_s and change_to_s
# to fix the change notification issue reported in PUP-6542.
Calculates the actual should value given the current and
new values. This is only used in should_to_s and change_to_s
to fix the change notification issue reported in PUP-6542.
Calculates the actual should value given the current and new values . This is only used in should_to_s and change_to_s to fix the change notification issue reported in PUP - 6542 .
def actual_should(currentvalue, newvalue)
        currentvalue = munge_members_value(currentvalue)
        newvalue = munge_members_value(newvalue)
        if @resource[:auth_membership]
          newvalue.uniq.sort 
        else
          (currentvalue + newvalue).uniq.sort
        end
      end
def actual_should ( currentvalue , newvalue ) currentvalue = munge_members_value ( currentvalue ) newvalue = munge_members_value ( newvalue ) if @resource [ :auth_membership ] newvalue . uniq . sort else ( currentvalue + newvalue ) . uniq . sort end end
Calculates the actual should value given the current and
new values.
Calculates the actual should value given the current and new values .
currentvalue
<not_specific>
newvalue
<not_specific>