Method: Puppet::Property::List#should

Defined in:
lib/puppet/property/list.rb

#shouldObject



33
34
35
36
37
38
39
40
41
# File 'lib/puppet/property/list.rb', line 33

def should
  return nil unless @should

  members = @should
  # inclusive means we are managing everything so if it isn't in should, its gone
  members = add_should_with_current(members, retrieve) unless inclusive?

  dearrayify(members)
end