index page for anonscm
[mirror/dsa-puppet.git] / modules / roles / manifests / anonscm.pp
index 6c5beed..90b5e76 100644 (file)
@@ -39,4 +39,16 @@ class roles::anonscm {
                target => "../conf-available/anonscm.map.conf",
                notify  => Exec['service apache2 reload'],
        }
+
+       file { '/srv/anonscm.debian.org':
+               ensure  => directory,
+       }
+
+       file { '/srv/anonscm.debian.org/htdocs':
+               ensure  => directory,
+       }
+
+       file { '/srv/anonscm.debian.org/htdocs/index.html':
+               source => 'puppet:///modules/roles/anonscm/index.html',
+       }
 }