]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/staging/tests/staging_parse.pp
add nanliu/staging to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / staging / tests / staging_parse.pp
1 $file      = '/etc/puppetlabs/foo.bar.tar.gz'
2 $filename  = staging_parse($file)
3 $basename  = staging_parse($file, 'basename')
4 $extname   = staging_parse($file, 'extname')
5 $parent    = staging_parse($file, 'parent')
6 $rbasename = staging_parse($file, 'basename', '.tar.gz')
7
8 notice($filename)
9 notice($basename)
10 notice($extname)
11 notice($parent)
12 notice($rbasename)