On 01/12/2015 03:55 PM, Felix Frank wrote: > I think the issue is that facter/util is not supposed to be pluggable > this way. Custom facts live in lib/facter/*.rb and that's the extent of > it. I may be mistaken, but it seems consistent to me that this will not > work.
Hi, I just found that this is most likely a false assumption of mine. https://github.com/puppetlabs/puppetlabs-stdlib/tree/master/lib/facter/util So, yeah, that should work. Although I'm still not sure what Ruby will do if you sync a file to util/ that is also present in the system wide facter/util/ tree. It's likely safer to give unique names to your fact code files, except when you are overriding existing facts (not their utility functions, mind). Best, Felix -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/54BD2D92.90408%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/d/optout.
