Add missing new files from commit 131e09855e06
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / types / 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 ]