Puppet function to define Puppet functions in Puppet