On Thursday, August 23, 2012 12:18:12 PM UTC-5, Wolf Noble wrote: > > why not check to see if the binary which you're using to talk to the raid > hw exists.. if so, execute and provide facts, if not, do nothing.. > That's how it's being done in the hpacucli fact I've been using. > > That's the other route I'm thinking of going. What I've written abstracts away vendors by having different helper classes provide the information as an object and the main custom fact does all the Facter.add stuff using the data from the objects. I could just create a noop type object that would cause the script to exit. However, I was hoping for a more general solution to exiting out of facts early, but I realize that I may just be getting too nit-picky.
Thanks all for your help! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/qhVaX_VmgLQJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.