Convert from Puppet 3 custom functions to Puppet 4 custom functions


Many of our components have custom functions defined using Puppet 3 syntax. This ticket is to

  • Update from Puppet 3 to Puppet 4 syntax and directory structure

  • Use appropriate namespace for each function

  • Add puppet-strings-compatible documentation

  • Use strong typed parameters (eliminating OBE validation)

  • Port/write tests

  • Convert all uses of the Puppet 3 functions to Puppet 4 functions

NOTE: Functions used by other modules must NOT be removed, but remain in place and use the stdlib deprecation() function to warn users of pending removal/change.

Acceptance Criteria