Colleen Murphy 7fe0c1eaee Filter out link-local ipv6 address in loadbalancer
On puppet 3, which uses facter 2, the $::ipaddress6 fact explicitly
filters out all link-local address[1]. On puppet 4, which uses facter 3,
the $::ipaddress6 fact only removes the link-local address if can find a
better one[2]. The beaker tests reveal that haproxy won't bind to the
ipv6 local address and will fail to start, with errors like:

  Starting proxy balance_git_daemon: cannot bind socket [fe80::5054:ff:fec5:7095:9418]

This matters in CI test cases where the test nodes don't have real ipv6
addresses.

This patch restores the puppet 3 behavior of ignoring the ipv6 address if
it's a link-local address.

[1] https://github.com/puppetlabs/facter/blob/2.x/lib/facter/ipaddress6.rb#L31
[2] https://docs.puppet.com/facter/3.1/release_notes.html#regression-fix-avoid-reporting-link-local-ipv6-addresses-if-a-valid-address-is-available

Change-Id: I481403a3a988211effd22c8524171379aea9ccf9
2018-10-15 20:03:31 +02:00
2015-08-28 09:31:37 -07:00
2015-01-28 17:05:31 -05:00
2017-05-04 15:03:34 +00:00
2015-01-29 22:56:42 +00:00
2015-01-28 17:05:31 -05:00
2015-01-28 17:05:31 -05:00

OpenStack Cgit Module

This module installs and configures cgit

Description
RETIRED, Puppet module to manage cgit
Readme 792 KiB