diff options
-rw-r--r-- | deployment/mgagit/manifests/init.pp | 3 | ||||
-rw-r--r-- | deployment/mgagit/manifests/reposconfig.pp | 13 |
2 files changed, 0 insertions, 16 deletions
diff --git a/deployment/mgagit/manifests/init.pp b/deployment/mgagit/manifests/init.pp index dbff16f8..86dd6907 100644 --- a/deployment/mgagit/manifests/init.pp +++ b/deployment/mgagit/manifests/init.pp @@ -13,7 +13,6 @@ class mgagit( $gitoliterc = "$git_homedir/.gitolite.rc" $bindpwfile = '/etc/mgagit.secret' $reposconf_dir = "${git_homedir}/repos-config" - $reposconf_list = ['software'] package { ['mgagit', 'gitolite']: ensure => installed, @@ -62,8 +61,6 @@ class mgagit( content => inline_template('<%= @bindpw %>'), } - mgagit::reposconfig { $reposconf_list: } - file { $git_dir: ensure => directory, owner => $git_login, diff --git a/deployment/mgagit/manifests/reposconfig.pp b/deployment/mgagit/manifests/reposconfig.pp deleted file mode 100644 index 326f2f88..00000000 --- a/deployment/mgagit/manifests/reposconfig.pp +++ /dev/null @@ -1,13 +0,0 @@ -define mgagit::reposconfig { - include mgagit - $giturl = "/git/infrastructure/repositories/${name}.git" - $confdir = "${mgagit::reposconf_dir}/${name}" - - git::snapshot{ $confdir: - source => $giturl, - user => $mgagit::git_login, - refresh => '0', - require => File[$mgagit::reposconf_dir], - } -} -# vim: sw=2 |