Various functions and facter plugins for puppet