On Thu, Oct 10, 2013 at 11:13 AM, Jay <[email protected]> wrote:
> I'm looking for something like a "break" statement, which should not > proceed execution of following resources. > > Oh! The built-in fail() function will stop catalog compilation full-stop and fail with a parse error. If what you're looking for is to effectively abort the Puppet agent run based on some condition, that's a good way to do it. http://docs.puppetlabs.com/references/latest/function.html#fail -- Ryan Coleman | Modules & Forge | ryanycoleman on twitter & #puppet IRC -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
