Try the fail() function. Something like this:

if ($continue != true) {
  fail('Condition not met, failing now.')
}


On Tue, Sep 17, 2013 at 1:36 PM, Robin Lee Powell <
[email protected]> wrote:

> On Tue, Sep 17, 2013 at 12:35:15PM -0700, Robin Lee Powell wrote:
> >
> > Is it possible to get puppet to just *give up* if a particular
> > step fails?  Thousands upon thousands of "Skipping because of
> > failed dependencies" gets really old.
>
> Or, indeed, have it stop after a particular step *succeeds* would be
> fine too.
>
> -Robin
>
> --
> 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.
>

-- 
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.

Reply via email to