3 include apache2::rewrite
5 ssl::service { 'anonscm.debian.org':
6 notify => Exec['service apache2 reload'],
9 apache2::site { '020-anonscm.debian.org':
10 site => 'anonscm.debian.org',
11 content => template('roles/anonscm/anonscm.debian.org.conf.erb')
14 concat { '/etc/apache2/conf-available/anonscm.map.conf':
15 notify => Exec['service apache2 reload'],
17 concat::fragment { 'anonscm.map-header':
18 target => '/etc/apache2/conf-available/anonscm.map.conf',
21 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
22 <Macro anonscm.debian.org-anonscm-map>
25 concat::fragment { 'anonscm.map-body':
26 target => '/etc/apache2/conf-available/anonscm.map.conf',
28 source => 'puppet:///modules/roles/anonscm/anonscm.map',
30 concat::fragment { 'anonscm.map-tail':
31 target => '/etc/apache2/conf-available/anonscm.map.conf',
37 file { "/etc/apache2/conf-enabled/anonscm.map.conf":
39 target => "../conf-available/anonscm.map.conf",
40 notify => Exec['service apache2 reload'],
43 file { '/srv/anonscm.debian.org':
47 file { '/srv/anonscm.debian.org/htdocs':
51 file { '/srv/anonscm.debian.org/htdocs/index.html':
52 source => 'puppet:///modules/roles/anonscm/index.html',