Method: Puppet::Type#present?
- Defined in:
- lib/puppet/type.rb
#present?(current_values) ⇒ Boolean
Given the hash of current properties, should this resource be treated as if it currently exists on the system. May need to be overridden by types that offer up more than just :absent and :present.
1104 1105 1106 |
# File 'lib/puppet/type.rb', line 1104 def present?(current_values) current_values[:ensure] != :absent end |