debian_org::apt_restricted: base::public_addresses is an array
authorJulien Cristau <jcristau@debian.org>
Tue, 8 Oct 2019 14:37:17 +0000 (16:37 +0200)
committerJulien Cristau <jcristau@debian.org>
Tue, 8 Oct 2019 14:37:17 +0000 (16:37 +0200)
modules/debian_org/manifests/apt_restricted.pp

index ed5c0a0..e51776f 100644 (file)
@@ -10,7 +10,7 @@ class debian_org::apt_restricted {
                target     => '/etc/apache2/conf-available/puppet-restricted-acl.conf',
                content    => @("EOF"),
                        # ${::fqdn}
-                       Require ip ${::base::public_addresses}
+                       Require ip ${ $base::public_addresses.join(' ') }
                        | EOF
        }
 }