summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/svn_deb_conf.inc7
-rw-r--r--manifests/init.pp8
2 files changed, 15 insertions, 0 deletions
diff --git a/files/svn_deb_conf.inc b/files/svn_deb_conf.inc
new file mode 100644
index 0000000..edba0b7
--- /dev/null
+++ b/files/svn_deb_conf.inc
@@ -0,0 +1,7 @@
+<?php
+// managed by puppet
+$config->parentPath("/var/svn");
+$config->setEnscriptPath("/usr/bin");
+$config->setSedPath("/bin");
+$config->useEnscript();
+?>
diff --git a/manifests/init.pp b/manifests/init.pp
index 20506e8..0483bb8 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -13,6 +13,14 @@ class websvn {
ensure => installed,
}
+ # Subversion folder
+ file { "/var/svn":
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => 0755,
+ }
+
# The needed apache modules
apache::module { "dav":
ensure => present,