Class | concat::setup |
In: |
/Users/brice/cvs/puppet/vendors/concat/manifests/setup.pp
|
Parent: |
Sets up the concat system.
$concatdir is where the fragments live and is set on the fact concat_basedir. Since puppet should always manage files in $concatdir and they should not be deleted ever, /tmp is not an option.
$puppetversion should be either 24 or 25 to enable a 24 compatible mode, in 24 mode you might see phantom notifies this is a side effect of the method we use to clear the fragments directory.
The regular expression below will try to figure out your puppet version but this code will only work in 0.24.8 and newer.
It also copies out the concatfragments.sh file to ${concatdir}/bin