>    Does exist some way to force a  error while applying the catalog? We need
> to check some facts vs configuration and force an error if doesnt' match, so
> we could have a report from the node in the puppetdb with the failed state.
> (we cannot use a compilation/evaluation error because it doesn't report to
> the puppetdb)

This is fixed in the next release, 2.1.0.

>   Currently we use this ugly workaround:
>
>     exec {'dummy exec to force an error':
>       path => ['/bin'],
>     }
>
>   Is there any better solution?

I know its vapourware until its released, but I'd wait for 2.1.0 and
use the fail function,

ken.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAE4bNTkvx%2BFQKPXVcqp5AURUS8c2s-eOSuVFOLVBYdva_wAc2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to