put an /srv/anonscm.debian.org/htdocs in place
authorPeter Palfrader <peter@palfrader.org>
Thu, 31 May 2018 15:44:08 +0000 (17:44 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 31 May 2018 15:44:08 +0000 (17:44 +0200)
modules/roles/manifests/anonscm.pp

index 6c5beed..313b8c4 100644 (file)
@@ -39,4 +39,12 @@ 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,
+       }
 }