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

Annotation of /puppet/modules/gitweb/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: 708 byte(s)
fix vhost invocation on several module, was missed by last commit, and add the one for redirect_ssl
1 misc 1856 class gitweb {
2 misc 2242 package { 'gitweb': }
3 misc 1856 # TODO some rpm may be needed ( like perl-FCGI )
4     # git >= 17.2 is needed for fastcgi support
5    
6     # TODO fix git rpm to show the css, the js, and others missing file
7    
8 misc 2242 file { '/etc/gitweb.conf':
9 misc 1856 content => template('gitweb/gitweb.conf'),
10 misc 2653 notify => Service['apache'],
11 misc 2242 require => Package['gitweb'],
12 misc 1856 }
13    
14 misc 2242 apache::webapp_other { 'gitweb':
15     webapp_file => 'gitweb/webapp.conf',
16 misc 1856 }
17 misc 2653
18 misc 2242 local_script { 'gitweb.wrapper.sh':
19 misc 1856 content => template('gitweb/wrapper.sh'),
20 misc 2653 notify => Service['apache'],
21 misc 1856 }
22 misc 2653
23 misc 2691 apache::vhost::base { "gitweb.$::domain":
24 misc 2653 content => template('gitweb/vhost.conf')
25 misc 1856 }
26     }

  ViewVC Help
Powered by ViewVC 1.1.30