projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
408dcb96fbdc80081277d05ca530b4c8e7c01bce
[mirror/dsa-puppet.git]
/
filesource.pp
1
# Validate the source parameter on file types
2
type Stdlib::Filesource = Variant[
3
Stdlib::Absolutepath,
4
Stdlib::HTTPUrl,
5
Pattern[
6
/^file:\/\/\/([^\/\0]+(\/)?)+$/,
7
/^puppet:\/\/(([\w-]+\.?)+)?\/([^\/\0]+(\/)?)+$/,
8
],
9
]