summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-02 13:24:59 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-02 13:24:59 -0200
commit25e341ad0c778f8e6196feffb08d47b9d03d4058 (patch)
tree79e7dc17e978c66da2b028b72059f3a446ea8585 /manifests
downloadpuppet-websvn-25e341ad0c778f8e6196feffb08d47b9d03d4058.tar.gz
puppet-websvn-25e341ad0c778f8e6196feffb08d47b9d03d4058.tar.bz2
Initial import
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp33
1 files changed, 33 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
new file mode 100644
index 0000000..20506e8
--- /dev/null
+++ b/manifests/init.pp
@@ -0,0 +1,33 @@
+class websvn {
+ # The needed packages
+ package { "subversion":
+ ensure => installed,
+ }
+
+ package { "dav_svn":
+ name => "libapache2-svn",
+ ensure => installed,
+ }
+
+ package { "websvn":
+ ensure => installed,
+ }
+
+ # The needed apache modules
+ apache::module { "dav":
+ ensure => present,
+ }
+
+ apache::module { "dav_fs":
+ ensure => present,
+ }
+
+ apache::module { "dav_lock":
+ ensure => present,
+ }
+
+ apache::module { "dav_svn":
+ ensure => present,
+ require => Package["dav_svn"],
+ }
+}