- Dependency update and travis CI testing to support Puppet 6
- Forge release, tests expanded to Puppet 5.x and docs updated.
-
Purge resource now passes on it's metaparameters (notify, before...etc) to the resources it purges. Note due to PUP-1963 this will not have an effect in Puppet < 4.3
-
Purge now supports two new attributes,
state
andmanage_property
.state
can be used to define a state other thanabsent
for a resource, for example, to unmount mounts instead of deleting them from the config. You can now use purge to set any desired state of a resource by combiningmanage_property
withstate
to manage other properties. See the README for more details. -
Purge puppet class added to enable auto generation of purge resources from Hiera data
- Purge will now use the
.should=()
method of the types property to change the state, This means that user defined values will be passed through the types property validation. For example if you try and set a state for a resource that it doesnt support, Puppet will correctly error;
Puppet::Error: Invalid value :obliterated. Valid values are present, absent, role.
- The purge resource itself now signals a changed state when it purges resources, rather than remaining silent and unchanged. This is useful output to make it obvious that purge has altered resources
Notice: /Stage[main]/Main/Purge[user]/ensure: ensure changed 'purgable' to 'purged'
- Added support for array values to criteria #3
- Ruby 1.8.7 support
- Added many more spec tests
- Namevar changed from
name
toresource_type
- Added non-isomorphic behaviour
- Documentation updates