projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add missing new files from commit 131e09855e06
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
types
/
filemode.pp
diff --git a/3rdparty/modules/stdlib/types/filemode.pp
b/3rdparty/modules/stdlib/types/filemode.pp
new file mode 100644
(file)
index 0000000..
2f1e210
--- /dev/null
+++ b/
3rdparty/modules/stdlib/types/filemode.pp
@@ -0,0
+1,2
@@
+# See `man chmod.1` for the regular expression for symbolic mode
+type Stdlib::Filemode = Pattern[/^(([0-7]{1,4})|(([ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+)(,([ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+))*))$/]