Puppet Data Type Alias: Stdlib::Compat::Absolute_path

Defined in:
vendor_modules/stdlib/types/compat/absolute_path.pp

Summary

Emulate the is_absolute_path and validate_absolute_path functions

Overview

The first pattern is originally from is_absolute_path, which had it from 2.7.x's lib/puppet/util.rb Puppet::Util.absolute_path? slash = '[\\/]' name = '[^\\/]+' %r!^((:#slash)|(#slash#slash#name#slash#name)|(#slash#slash?#slash#name))!i,

Alias of

Variant[Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], Pattern[/^\//]]


# File 'vendor_modules/stdlib/types/compat/absolute_path.pp', line 7