diff options
Diffstat (limited to 'modules/catdap/manifests/snapshot.pp')
-rw-r--r-- | modules/catdap/manifests/snapshot.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/catdap/manifests/snapshot.pp b/modules/catdap/manifests/snapshot.pp index 95adefe2..d087596f 100644 --- a/modules/catdap/manifests/snapshot.pp +++ b/modules/catdap/manifests/snapshot.pp @@ -1,4 +1,4 @@ -define catdap::snapshot($location, $svn_location) { +define catdap::snapshot($location, $git_location, $git_branch) { file { "$location/catdap_local.yml": group => apache, mode => '0640', @@ -6,8 +6,9 @@ define catdap::snapshot($location, $svn_location) { require => Subversion::Snapshot[$location], } - subversion::snapshot { $location: - source => $svn_location + git::snapshot { $location: + source => $git_location, + branch => $git_branch, } apache::vhost::catalyst_app { $name: |