aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-02 19:38:49 +0000
committerMichael Scherer <misc@mageia.org>2011-02-02 19:38:49 +0000
commit6c0596b3010c5307c606c4dafb32166f1d10a3fb (patch)
tree43c652fdf78b965ffb39b2d9397308a45bc3185b /modules/git
parent211c52e9623afafbe787c9327a026d767e22a6b5 (diff)
downloadpuppet-6c0596b3010c5307c606c4dafb32166f1d10a3fb.tar
puppet-6c0596b3010c5307c606c4dafb32166f1d10a3fb.tar.gz
puppet-6c0596b3010c5307c606c4dafb32166f1d10a3fb.tar.bz2
puppet-6c0596b3010c5307c606c4dafb32166f1d10a3fb.tar.xz
puppet-6c0596b3010c5307c606c4dafb32166f1d10a3fb.zip
install git-svn
Diffstat (limited to 'modules/git')
-rw-r--r--modules/git/manifests/init.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/git/manifests/init.pp b/modules/git/manifests/init.pp
index dee9fb86..624c1cc6 100644
--- a/modules/git/manifests/init.pp
+++ b/modules/git/manifests/init.pp
@@ -70,7 +70,7 @@ class git {
define svn_repository($source,
$std_layout = true,
$refresh = '*/5') {
- include git::client
+ include git::svn
include git::server
# a cron job
# a exec
@@ -103,6 +103,12 @@ class git {
}
+ class svn inherits client {
+ package { "git-svn":
+ ensure => installed
+ }
+ }
+
define snapshot($source, $refresh ='*/5', $user = 'root') {
include git::client
#TODO