Useful functions for puppet module development