The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:
Client-side soft alternative to fail()
|Status:||Needs Decision||Start date:||10/01/2012|
|Assignee:||eric sorenson||% Done:|
|Affected Puppet version:||Branch:|
|Keywords:||soft fail immutable|
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.