From: Julien Cristau Date: Tue, 8 Oct 2019 15:09:22 +0000 (+0200) Subject: Make the apt_restricted acl an apache macro X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=82560e1ed1ce21ca875ac4a6b48bedaf5c7dfc8b Make the apt_restricted acl an apache macro --- diff --git a/modules/roles/manifests/dbmaster.pp b/modules/roles/manifests/dbmaster.pp index f207b21ba..6db028f4d 100644 --- a/modules/roles/manifests/dbmaster.pp +++ b/modules/roles/manifests/dbmaster.pp @@ -67,4 +67,18 @@ class roles::dbmaster { warn => '# This file is maintained with puppet', } Concat::Fragment <<| tag == 'debian_org::apt_restricted::apache-acl' |>> + concat::fragment { 'debian_org::apt_restricted::apache-acl-head': + target => '/etc/apache2/conf-available/puppet-restricted-acl.conf', + order => '01', + content => @(EOF) + + | EOF + } + concat::fragment { 'debian_org::apt_restricted::apache-acl-tail': + target => '/etc/apache2/conf-available/puppet-restricted-acl.conf', + order => '99', + content => @(EOF) + + | EOF + } }