Issue #16647 has been updated by Dan Carley.
That makes sense. Having that resource akin to something between `error()` and
`notify{}` would make the overall error pretty understandable too.
----------------------------------------
Feature #16647: Client-side soft alternative to fail()
https://projects.puppetlabs.com/issues/16647#change-72322
Author: Dan Carley
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: functions
Target version:
Affected Puppet version:
Keywords: soft fail immutable
Branch:
It would be useful to have a softer alternative to `fail()` which could
client-side fail individual resources and those that depend on them, rather
than server-side aborting the entire catalog compilation.
An example use case could be a parameterised class that validates the values it
receives. If given invalid values then you would want to generate a real error
and prevent the resources (plus reverse dependencies) from being created or
modified. But you wouldn't necessarily want to stop the rest of the catalog
from being enforced in the meantime.
--
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.