[Puppet Users] less drastic alternative to fail()?

mpounsett@afilias.info
Tue, 11 Jun 2013 21:53:13 -0000

I have a few cases of error checking to make sure parameters supplied to my
classes and defined types where the no-success option is to run the fail()
function with a meaningful error.  This seems to cause the entire agent run
to fail as if the manifest couldn''t be generated.  Does anyone know of
an
equivalent that would cause just that class to fail and stop processing
(and obviously skip anything that depends on it) but allow the rest of the
agent run to proceed as normal?

Is that even desirable, or am I missing edge cases where that would break
things?