aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/manifests/pre_commit_link.pp
blob: fa3c2b2ca537247c0899a3ceba8086e1f0de1ca0 (plain)
1
2
3
4
5
6
7
8
define subversion::pre_commit_link() {
    $scriptname = regsubst($name,'^.*/', '')
    file { $name:
        ensure => 'link',
        target => "/usr/local/share/subversion/pre-commit.d/${scriptname}",
        mode   => '0755',
    }
}