Hi,

   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)

  Currently we use this ugly workaround:

    exec {'dummy exec to force an error':
      path => ['/bin'],
    }

  Is there any better solution?

thanks,
 

-- 
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/e4f5da29-aad3-4391-9dcc-ac2f986cf1b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to