X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fprofile%2Fmanifests%2Fipsec%2Ffasolo_storace.pp;h=9cc83408acae0dc0c97858c31abdd39439f12146;hb=bcd83d82067f3abb402fc07b36aa16227065a979;hp=b2d91530a39d55db26265053cc8e0fb02a143231;hpb=92231a9ecd050326e3501e3c0a62b77f308025fd;p=mirror%2Fdsa-puppet.git diff --git a/modules/profile/manifests/ipsec/fasolo_storace.pp b/modules/profile/manifests/ipsec/fasolo_storace.pp index b2d91530a..9cc83408a 100644 --- a/modules/profile/manifests/ipsec/fasolo_storace.pp +++ b/modules/profile/manifests/ipsec/fasolo_storace.pp @@ -5,8 +5,7 @@ class profile::ipsec::fasolo_storace { # Use the first ipv4 address from LDAP, since the puppet fact is not always # the IP address we want to use. For instance, for storace $::facts['ipaddress'] # is 172.29.170.1 (from bond1) instead of 93.94.130.161 from eth0. - $public_ipaddresses = getfromhash($site::nodeinfo, 'misc', 'v4_ldap') - $public_ipaddress = public_ipaddresses[0] + $public_ipaddress = getfromhash($site::nodeinfo, 'misc', 'v4_ldap')[0] # we do ipsec on the backend since it traveres over other people's switching infra ipsec::network { "fasolo_storace":