diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-07-06 16:54:08 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-07-06 16:54:08 +0000 |
commit | 12e17d4c7d4ee67fe1b4515a495b13bde80c6b12 (patch) | |
tree | cccd45905b003f6e7f5fde82449fcceab1b97296 /deployment/mgagit/manifests/init.pp | |
parent | 92088122f2d1f3fbe63b506fd8e8bd312847000b (diff) | |
download | puppet-12e17d4c7d4ee67fe1b4515a495b13bde80c6b12.tar puppet-12e17d4c7d4ee67fe1b4515a495b13bde80c6b12.tar.gz puppet-12e17d4c7d4ee67fe1b4515a495b13bde80c6b12.tar.bz2 puppet-12e17d4c7d4ee67fe1b4515a495b13bde80c6b12.tar.xz puppet-12e17d4c7d4ee67fe1b4515a495b13bde80c6b12.zip |
mgagit: clone software repos list
Diffstat (limited to 'deployment/mgagit/manifests/init.pp')
-rw-r--r-- | deployment/mgagit/manifests/init.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deployment/mgagit/manifests/init.pp b/deployment/mgagit/manifests/init.pp index fdb5f60c..dbff16f8 100644 --- a/deployment/mgagit/manifests/init.pp +++ b/deployment/mgagit/manifests/init.pp @@ -12,6 +12,8 @@ class mgagit( $gitolite_conf = "${gitolite_confdir}/gitolite.conf" $gitoliterc = "$git_homedir/.gitolite.rc" $bindpwfile = '/etc/mgagit.secret' + $reposconf_dir = "${git_homedir}/repos-config" + $reposconf_list = ['software'] package { ['mgagit', 'gitolite']: ensure => installed, @@ -37,7 +39,7 @@ class mgagit( require => Package['mgagit'], } - file { [$gitolite_dir, $gitolite_keydir, $gitolite_confdir]: + file { [$gitolite_dir, $gitolite_keydir, $gitolite_confdir, $reposconf_dir]: ensure => directory, owner => $git_login, group => $git_login, @@ -60,6 +62,8 @@ class mgagit( content => inline_template('<%= @bindpw %>'), } + mgagit::reposconfig { $reposconf_list: } + file { $git_dir: ensure => directory, owner => $git_login, |