aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/manifests
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-07-15 17:39:49 +0000
committerNicolas Vigier <boklm@mageia.org>2013-07-15 17:39:49 +0000
commit31fdf1de491aa3de5f5e207a193fba1041e834b4 (patch)
tree2d9beac0e4f0c7b66884c74ff3da2304ff0732b4 /deployment/mgagit/manifests
parent608252abe346603a912b3f40972efa7153669696 (diff)
downloadpuppet-31fdf1de491aa3de5f5e207a193fba1041e834b4.tar
puppet-31fdf1de491aa3de5f5e207a193fba1041e834b4.tar.gz
puppet-31fdf1de491aa3de5f5e207a193fba1041e834b4.tar.bz2
puppet-31fdf1de491aa3de5f5e207a193fba1041e834b4.tar.xz
puppet-31fdf1de491aa3de5f5e207a193fba1041e834b4.zip
Remove mgagit::reposconfig
No longer needed with new mgagit version. The clone is now done automatically if the directory does not exists.
Diffstat (limited to 'deployment/mgagit/manifests')
-rw-r--r--deployment/mgagit/manifests/init.pp3
-rw-r--r--deployment/mgagit/manifests/reposconfig.pp13
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