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

Diff of /puppet/modules/gitweb/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2652 by misc, Sat Jan 14 19:26:11 2012 UTC revision 2653 by misc, Mon Mar 19 22:02:48 2012 UTC
# Line 7  class gitweb { Line 7  class gitweb {
7    
8      file { '/etc/gitweb.conf':      file { '/etc/gitweb.conf':
9          content => template('gitweb/gitweb.conf'),          content => template('gitweb/gitweb.conf'),
10          notify => Service['apache'],          notify  => Service['apache'],
11          require => Package['gitweb'],          require => Package['gitweb'],
12      }      }
13    
14      apache::webapp_other { 'gitweb':      apache::webapp_other { 'gitweb':
15          webapp_file => 'gitweb/webapp.conf',          webapp_file => 'gitweb/webapp.conf',
16      }      }
17      
18      local_script { 'gitweb.wrapper.sh':      local_script { 'gitweb.wrapper.sh':
19          content => template('gitweb/wrapper.sh'),          content => template('gitweb/wrapper.sh'),
20          notify => Service['apache'],          notify  => Service['apache'],
21      }      }
22        
23      apache::vhost_base { "gitweb.$domain":      apache::vhost_base { "gitweb.$::domain":
24          content => template("gitweb/vhost.conf")          content => template('gitweb/vhost.conf')
25      }      }
26  }  }

Legend:
Removed from v.2652  
changed lines
  Added in v.2653

  ViewVC Help
Powered by ViewVC 1.1.30