Issue #14972 has been updated by Michael Keller.
examples should read:
Original manifest:
`myresource { ‘xxx’:
ensure => present,
# or whatever purge => true
}`
Later manifest:
`< empty >`
will define automatically:
`myresource { ‘xxx’:
ensure => absent
}`
----------------------------------------
Feature #14972: generic "purge" parameter
https://projects.puppetlabs.com/issues/14972#change-64816
Author: Michael Keller
Status: Unreviewed
Priority: Normal
Assignee:
Category: metaparameters
Target version:
Affected Puppet version:
Keywords:
Branch:
it would be nice to have a generic "purge" parameter to have "managed"
resources or classes of any type like the "file" resource.
if a resource was defined with purge => true and the resource isn't anymore in
a later run, the same resource should be called with ensure => absent
automatically by puppet.
this way a manual ensure => absent isn't needed anymore and the outcome would
be the same.
Example:
Original manifest:
myresource { 'xxx':
ensure => present, # or whatever
purge => true
}
Later manifest:
<empty>
will define automatically:
myresource { 'xxx':
ensure => absent
}
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.