aboutsummaryrefslogtreecommitdiffstats
path: root/modules/viewvc
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-19 22:23:21 +0000
committerMichael Scherer <misc@mageia.org>2012-03-19 22:23:21 +0000
commitea93bdccc6035320443349615e95cc2cf83fd9d0 (patch)
treef8e3eabfb5172a5f6defcf0844a674828654c6d7 /modules/viewvc
parent3ad7ce0919c747e34ce612d26a4c103ebe58abad (diff)
downloadpuppet-ea93bdccc6035320443349615e95cc2cf83fd9d0.tar
puppet-ea93bdccc6035320443349615e95cc2cf83fd9d0.tar.gz
puppet-ea93bdccc6035320443349615e95cc2cf83fd9d0.tar.bz2
puppet-ea93bdccc6035320443349615e95cc2cf83fd9d0.tar.xz
puppet-ea93bdccc6035320443349615e95cc2cf83fd9d0.zip
clean the module viewvc
Diffstat (limited to 'modules/viewvc')
-rw-r--r--modules/viewvc/manifests/init.pp29
1 files changed, 16 insertions, 13 deletions
diff --git a/modules/viewvc/manifests/init.pp b/modules/viewvc/manifests/init.pp
index b7c40202..8a94a004 100644
--- a/modules/viewvc/manifests/init.pp
+++ b/modules/viewvc/manifests/init.pp
@@ -1,11 +1,14 @@
class viewvc {
- package { ['viewvc','python-svn','python-flup']: }
+ package {['viewvc',
+ 'python-svn',
+ 'python-flup']: }
+
# http_expiration_time = 600
# svn_roots = admin: svn://svn.mageia.org/svn/adm/
file { '/etc/viewvc/viewvc.conf':
content => template('viewvc/viewvc.conf'),
- notify => Service['apache'],
+ notify => Service['apache'],
require => Package['viewvc'],
}
@@ -13,22 +16,22 @@ class viewvc {
webapp_file => 'viewvc/webapp.conf',
}
- local_script { "kill_viewvc":
- content => template('viewvc/kill_viewvc.sh'),
+ local_script { 'kill_viewvc':
+ content => template('viewvc/kill_viewvc.sh'),
}
cron { 'kill_viewvc':
- command => "/usr/local/bin/kill_viewvc",
- hour => "*",
- minute => "*/5",
- user => "apache",
- environment => "MAILTO=root",
+ command => '/usr/local/bin/kill_viewvc',
+ hour => '*',
+ minute => '*/5',
+ user => 'apache',
+ environment => 'MAILTO=root',
}
- apache::vhost_base { "svnweb.$domain":
- aliases => { "/viewvc" => "/var/www/viewvc/",
- "/" => "/usr/share/viewvc/bin/wsgi/viewvc.fcgi/" },
- content => template("viewvc/vhost.conf")
+ apache::vhost_base { "svnweb.$::domain":
+ aliases => {'/viewvc' => '/var/www/viewvc/',
+ '/' => '/usr/share/viewvc/bin/wsgi/viewvc.fcgi/'},
+ content => template('viewvc/vhost.conf')
}
}