Since changes for PUP-6964 added in version 5.5.7, Puppet requires 3.x
functions to include the string Puppet::Parser::Functions, otherwise it
will raise an exception.
This patch replaces nested module declarations with a single one to
pass this somewhat hacky check.
Since changes for PUP-6964 added in version 5.5.7, Puppet requires 3.x functions to include the string Puppet::Parser::Functions, otherwise it will raise an exception.
This patch replaces nested module declarations with a single one to pass this somewhat hacky check.
See ruby_legacy_function_instantiator.rb#L16 and https://github.com/puppetlabs/puppet/commit/f829da9de3c66c3ac980891fc38c1e0b6e8fb435
If in doubt, try viewing the changes with --ignore-space-change