aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/manifests/init.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-17 17:20:03 +0000
committerMichael Scherer <misc@mageia.org>2012-03-17 17:20:03 +0000
commitfccb4e7ce2ceed0e528be431f2c9f44df6d66997 (patch)
tree2f90f4eb5e9531dc06bd386fee05c7e08b17fcc5 /modules/subversion/manifests/init.pp
parent693633135505bd6c7f7a5b69c33be304efd8058f (diff)
downloadpuppet-fccb4e7ce2ceed0e528be431f2c9f44df6d66997.tar
puppet-fccb4e7ce2ceed0e528be431f2c9f44df6d66997.tar.gz
puppet-fccb4e7ce2ceed0e528be431f2c9f44df6d66997.tar.bz2
puppet-fccb4e7ce2ceed0e528be431f2c9f44df6d66997.tar.xz
puppet-fccb4e7ce2ceed0e528be431f2c9f44df6d66997.zip
split 2 small class from main subversion file
Diffstat (limited to 'modules/subversion/manifests/init.pp')
-rw-r--r--modules/subversion/manifests/init.pp15
1 files changed, 1 insertions, 14 deletions
diff --git a/modules/subversion/manifests/init.pp b/modules/subversion/manifests/init.pp
index cb0ebbbf..b70fdb2e 100644
--- a/modules/subversion/manifests/init.pp
+++ b/modules/subversion/manifests/init.pp
@@ -2,12 +2,7 @@
# https://github.com/reductivelabs/puppet-vcsrepo
# but not integrated in puppet directly for the moment
class subversion {
-
- class tools {
- package { "subversion-tools": }
- }
-
- class server {
+ class server {
include subversion::tools
package { "subversion-server": }
@@ -113,14 +108,6 @@ class subversion {
}
- define pre_commit_link() {
- $scriptname = regsubst($name,'^.*/', '')
- file { "${name}":
- ensure => "/usr/local/share/subversion/pre-commit.d/$scriptname",
- mode => 755,
- }
- }
-
# TODO
# deploy a cronjob to make a backup file ( ie, dump in some directory )