debian_org::apt_restricted: fix fragment name
[mirror/dsa-puppet.git] / modules / debian_org / manifests / apt_restricted.pp
index ed5c0a0..1bfe0e4 100644 (file)
@@ -5,12 +5,12 @@ class debian_org::apt_restricted {
                components => 'non-free',
        }
 
-       @@concat::fragment { "debian_org::apt_restricted::apache-acl::host::${name}":
+       @@concat::fragment { "debian_org::apt_restricted::apache-acl::host::${::fqdn}":
                tag        => 'debian_org::apt_restricted::apache-acl',
                target     => '/etc/apache2/conf-available/puppet-restricted-acl.conf',
                content    => @("EOF"),
                        # ${::fqdn}
-                       Require ip ${::base::public_addresses}
+                       Require ip ${ $base::public_addresses.join(' ') }
                        | EOF
        }
 }