aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/manifests/init.pp')
-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