/[adm]/puppet/modules/viewvc/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/viewvc/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2691 - (show annotations) (download)
Sun Mar 25 12:47:26 2012 UTC (12 years ago) by misc
File size: 994 byte(s)
fix vhost invocation on several module, was missed by last commit, and add the one for redirect_ssl
1 class viewvc {
2 package {['viewvc',
3 'python-svn',
4 'python-flup']: }
5
6 # http_expiration_time = 600
7 # svn_roots = admin: svn://svn.mageia.org/svn/adm/
8
9 file { '/etc/viewvc/viewvc.conf':
10 content => template('viewvc/viewvc.conf'),
11 notify => Service['apache'],
12 require => Package['viewvc'],
13 }
14
15 apache::webapp_other { 'viewvc':
16 webapp_file => 'viewvc/webapp.conf',
17 }
18
19 local_script { 'kill_viewvc':
20 content => template('viewvc/kill_viewvc.sh'),
21 }
22
23 cron { 'kill_viewvc':
24 command => '/usr/local/bin/kill_viewvc',
25 hour => '*',
26 minute => '*/5',
27 user => 'apache',
28 environment => 'MAILTO=root',
29 }
30
31 apache::vhost::base { "svnweb.$::domain":
32 aliases => {'/viewvc' => '/var/www/viewvc/',
33 '/' => '/usr/share/viewvc/bin/wsgi/viewvc.fcgi/'},
34 content => template('viewvc/vhost.conf')
35 }
36 }
37

  ViewVC Help
Powered by ViewVC 1.1.30