Useful functions that belong in a shared Puppet module