class debian_org::apt_restricted {
- site::aptrepo { 'db.debian.org.restricted':
- url => 'http://db.debian.org/debian-admin',
+ base::aptrepo { 'db.debian.org.restricted':
+ url => 'https://db.debian.org/debian-admin',
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
+ }
}