diff options
Diffstat (limited to 'deployment/mgagit/manifests')
-rw-r--r-- | deployment/mgagit/manifests/init.pp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/deployment/mgagit/manifests/init.pp b/deployment/mgagit/manifests/init.pp index f440e7c9..2df95c42 100644 --- a/deployment/mgagit/manifests/init.pp +++ b/deployment/mgagit/manifests/init.pp @@ -47,12 +47,22 @@ class mgagit( content => template('mgagit/format-commit-email.sh'), } - mga_common::local_script { 'git_multimail.py': + file { "$gitolite_commonhooksdir/git_multimail.py": + ensure => present, + owner => $git_login, + group => $git_login, + mode => '0644', content => template('mgagit/git_multimail.py'), + require => File[$gitolite_commonhooksdir], } - mga_common::local_script { 'mgagit-post-receive-hook': + file { "$gitolite_commonhooksdir/post-receive": + ensure => present, + owner => $git_login, + group => $git_login, + mode => '0755', content => template('mgagit/git-post-receive-hook'), + require => File[$gitolite_commonhooksdir], } file { "$gitolite_commonhooksdir/post-update": |