Class: Puppet::Property::Boolean

Inherits:
Puppet::Property show all
Defined in:
lib/puppet/property/boolean.rb

Instance Attribute Summary

Attributes inherited from Puppet::Property

#noop, #shouldorig

Instance Method Summary collapse

Methods inherited from Puppet::Property

#call_provider, #change_to_s, #event, #event_name, idempotent, idempotent=, #idempotent?, #insync?, #insync_values?, #is_to_s, #log, #match_all?, method_added, #name, newvalue, #property_matches?, #retrieve, #safe_insync?, #set, #should, #should=, #should_to_s, #sync, #unsafe_validate, #validate_features_per_value, #value, #value=, value_name, value_option

Instance Method Details

#unsafe_munge(value) ⇒ Object



6
7
8
# File 'lib/puppet/property/boolean.rb', line 6

def unsafe_munge(value)
  Puppet::Coercion.boolean(value)
end