dbmaster: enable puppet-restricted-acl.conf apache snippet
authorJulien Cristau <jcristau@debian.org>
Tue, 8 Oct 2019 17:53:07 +0000 (19:53 +0200)
committerJulien Cristau <jcristau@debian.org>
Tue, 8 Oct 2019 17:54:31 +0000 (19:54 +0200)
modules/roles/manifests/dbmaster.pp

index bc4a1be..2b9bf7f 100644 (file)
@@ -81,4 +81,9 @@ class roles::dbmaster {
       </Macro>
       | EOF
   }
+  file { '/etc/apache2/conf-enabled/puppet-restricted-acl.conf':
+    ensure => symlink,
+    target => '../conf-available/puppet-restricted-acl.conf',
+    notify => Exec['service apache2 reload'],
+  }
 }