Ruby code separate from Facter facts.
I saw that when working with custom Types/Providers, it is recommended to put your custom ruby code in a puppetx directory as to prevent overlapping with code in the puppet namespace. However, when trying to apply the same principal to facter facts, it does not appear that they have access to the puppetx lib directory when they are syncronized to the agent machine!
I was looking at how rtyler-jenkins module does the separation. Is my only option to add a folder namespaced under the puppet folder (in the jenkins example, lib/puppet/jenkins/facts)? Are there any guides on getting started writing tests for your broken out ruby code? I'm still new to ruby, and ran into some issues moving beyond my regular rspec-puppet based tests.
Thanks in advance!