Method: Puppet::Type.allattrs
- Defined in:
- lib/puppet/type.rb
.allattrs ⇒ Array<String>
Returns all the attribute names of the type in the appropriate order. The key_attributes come first, then the provider, then the properties, and finally the parameters and metaparams, all in the order they were specified in the respective files.
125 126 127 |
# File 'lib/puppet/type.rb', line 125 def self.allattrs key_attributes | (parameters & [:provider]) | properties.collect(&:name) | parameters | end |