diff options
author | Paula McMaw <paula@puppet.com> | 2017-09-26 10:20:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-26 10:20:16 +0100 |
commit | 2b2b3870ec1737dc78ec402c2dccbb7b65a2ef8f (patch) | |
tree | 7d1c09d95d0d652e55cd9fdfbd2f627211883274 | |
parent | 1ff99561b264febbb71b032b740fd28c4578d878 (diff) | |
parent | 51c9dc52cf68fcb128c5324d3642620100a44d27 (diff) |
Merge pull request #811 from kofrezo/master
Allow root as valid UNIX path
-rw-r--r-- | types/unixpath.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/unixpath.pp b/types/unixpath.pp index ec3bf7d..4cd6f01 100644 --- a/types/unixpath.pp +++ b/types/unixpath.pp @@ -1,2 +1,2 @@ # this regex rejects any path component that is a / or a NUL -type Stdlib::Unixpath = Pattern[/^\/([^\/\0]+\/*)+$/] +type Stdlib::Unixpath = Pattern[/^\/([^\/\0]+\/*)*$/] |