4. Puppet TypeandProviderExecution
WhatareTypes? -TheBasics
Properties
Something that can be measured and changed on the
system
Parameters
Change how Puppet manages resources through the
Properties
Think of them as variables
Validation
Anything that you need to do to validate your
resource
Autorequires
Provides the ability to require other catalog resources
if they happen to be defined
Does not require resources to be defined!
6. Puppet TypeandProviderExecution
WhatareProviders?
Initializer
A place to do all sorts of fun things that persist across
the provider
Property Methods
Automatically referenced methods for manipulating
properties on the system
Miscellaneous
Any other method that is useful to your type
30. Puppet TypeandProviderExecution
Resources
The original article upon which this presentation is
based
The official documentation on custom types.
The Puppet Types and Providers book by
and
The source code for this presentation
Type and Provider Execution Walkthrough
Puppet Labs' Custom Type Documentation
Puppet Types and Providers Book
Dan Bode
Nan Liu
Presentation Source