summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
new file mode 100644
index 0000000..e59b66c
--- /dev/null
+++ b/manifests/init.pp
@@ -0,0 +1,18 @@
+class viewvc {
+ case $viewvc_svn_roots {
+ '': { $viewvc_svn_roots = "svn: /var/lib/svn" }
+ }
+
+ package { 'viewvc':
+ ensure => present,
+ }
+
+ file { '/etc/viewvc/viewvc.conf':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ content => template('viewvc/viewvc.conf.erb'),
+ require => Package['viewvc'],
+ }
+}