try to put anonscm.map onto host, 3
authorPeter Palfrader <peter@palfrader.org>
Thu, 31 May 2018 15:24:19 +0000 (17:24 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 31 May 2018 15:24:19 +0000 (17:24 +0200)
modules/roles/manifests/anonscm.pp

index 6ac2b8f..6c5beed 100644 (file)
@@ -11,7 +11,9 @@ class roles::anonscm {
                content => template('roles/anonscm/anonscm.debian.org.conf.erb')
        }
 
-       concat { '/etc/apache2/conf-available/anonscm.map.conf': }
+       concat { '/etc/apache2/conf-available/anonscm.map.conf':
+               notify  => Exec['service apache2 reload'],
+       }
        concat::fragment { 'anonscm.map-header':
                target => '/etc/apache2/conf-available/anonscm.map.conf',
                order  => '000',