Puppet functions backported to older Puppet versions