diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-03-14 22:40:08 +0000 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-03-14 22:40:08 +0000 |
commit | cf31e5584c90fcb609322500596168e496d44dd7 (patch) | |
tree | ba7795113111ec703af381b607ba008ef886564a | |
parent | 25e341ad0c778f8e6196feffb08d47b9d03d4058 (diff) | |
download | puppet-websvn-master.tar.gz puppet-websvn-master.tar.bz2 |
-rw-r--r-- | files/svn_deb_conf.inc | 7 | ||||
-rw-r--r-- | manifests/init.pp | 8 |
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, |