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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2691 - (hide 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 misc 891 class viewvc {
2 misc 2657 package {['viewvc',
3     'python-svn',
4     'python-flup']: }
5    
6 misc 891 # http_expiration_time = 600
7     # svn_roots = admin: svn://svn.mageia.org/svn/adm/
8    
9 misc 2206 file { '/etc/viewvc/viewvc.conf':
10 misc 891 content => template('viewvc/viewvc.conf'),
11 misc 2657 notify => Service['apache'],
12 misc 2206 require => Package['viewvc'],
13 misc 891 }
14    
15 misc 2206 apache::webapp_other { 'viewvc':
16 misc 2214 webapp_file => 'viewvc/webapp.conf',
17 misc 891 }
18    
19 misc 2657 local_script { 'kill_viewvc':
20     content => template('viewvc/kill_viewvc.sh'),
21 boklm 1921 }
22    
23     cron { 'kill_viewvc':
24 misc 2657 command => '/usr/local/bin/kill_viewvc',
25     hour => '*',
26     minute => '*/5',
27     user => 'apache',
28     environment => 'MAILTO=root',
29 boklm 1921 }
30    
31 misc 2691 apache::vhost::base { "svnweb.$::domain":
32 misc 2657 aliases => {'/viewvc' => '/var/www/viewvc/',
33     '/' => '/usr/share/viewvc/bin/wsgi/viewvc.fcgi/'},
34     content => template('viewvc/vhost.conf')
35 misc 891 }
36     }
37    

  ViewVC Help
Powered by ViewVC 1.1.30