summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-03-14 22:40:08 +0000
committerSilvio Rhatto <rhatto@riseup.net>2010-03-14 22:40:08 +0000
commitcf31e5584c90fcb609322500596168e496d44dd7 (patch)
treeba7795113111ec703af381b607ba008ef886564a
parent25e341ad0c778f8e6196feffb08d47b9d03d4058 (diff)
downloadpuppet-websvn-cf31e5584c90fcb609322500596168e496d44dd7.tar.gz
puppet-websvn-cf31e5584c90fcb609322500596168e496d44dd7.tar.bz2
Adding websvn config and svn folderHEADmaster
-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,