projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
706a3d4
)
base::public_addresses: handle v4 only hosts like fasolo
author
Peter Palfrader
<peter@palfrader.org>
Sat, 7 Sep 2019 23:13:59 +0000
(
01:13
+0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 7 Sep 2019 23:13:59 +0000
(
01:13
+0200)
modules/base/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/base/manifests/init.pp
b/modules/base/manifests/init.pp
index
bda0d7f
..
5f3b318
100644
(file)
--- a/
modules/base/manifests/init.pp
+++ b/
modules/base/manifests/init.pp
@@
-2,5
+2,5
@@
class base(
Stdlib::IP::Address $public_address = filter_ipv4(getfromhash($site::nodeinfo, 'ldap', 'ipHostNumber'))[0],
Optional[Stdlib::IP::Address] $public_address6 = filter_ipv6(getfromhash($site::nodeinfo, 'ldap', 'ipHostNumber'))[0],
) {
- $public_addresses = [ $public_address, $public_address6 ]
+ $public_addresses = [ $public_address, $public_address6 ]
.filter |$addr| { $addr != undef }
}