X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=blobdiff_plain;f=modules%2Fdebian_org%2Fmanifests%2Fapt_restricted.pp;h=ed5c0a0b62bac3d3b9ba02bc25f020d0aa78f1a9;hp=b76d5b094943057393e7111441ea3bbac6a09c1e;hb=d37aae2f20083c472de30925ff3e16a692408a11;hpb=9c6e5abb124b6664dea47f2637e431286433b677 diff --git a/modules/debian_org/manifests/apt_restricted.pp b/modules/debian_org/manifests/apt_restricted.pp index b76d5b094..ed5c0a0b6 100644 --- a/modules/debian_org/manifests/apt_restricted.pp +++ b/modules/debian_org/manifests/apt_restricted.pp @@ -4,4 +4,13 @@ class debian_org::apt_restricted { suite => "${::lsbdistcodename}-restricted", components => 'non-free', } + + @@concat::fragment { "debian_org::apt_restricted::apache-acl::host::${name}": + tag => 'debian_org::apt_restricted::apache-acl', + target => '/etc/apache2/conf-available/puppet-restricted-acl.conf', + content => @("EOF"), + # ${::fqdn} + Require ip ${::base::public_addresses} + | EOF + } }