-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure all facts have networking.ip6 fact #255
Conversation
I can see both advantages and disadvantages. On the one hand, not having an IPv6 address is completely possible and valid. On the other hand, you sometimes do want to test with it. In cases where it matters I've always explicitly overridden it and not relied on the basic facts. |
yes, that's why I'm unsure as well. I did say that usual linux boxes at least have a link local address so it would be nice to rely on that during testing as well. I run into this because some of our factsets have ipv6 addresses and some don't . also overwriting the networking hash is a bit ugly I think. |
AFAIK link local never shows up as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me but I think you have to touch a couple more factsets ;)
That makes no sense but they do 🤷 : romain@desktop-fln40kq ~/Projects/puppet-bacula % facter networking.ip6
fe80::aa5e:45ff:feb7:3a51
romain@desktop-fln40kq ~/Projects/puppet-bacula % facter --version
4.2.10 If it makes more sense, maybe we can expect an IPv6 reserved for documentation (i.e. in the |
In Foreman we do filter out reported link local addresses. I recall at some point they even reported the interface in the link local address! Also note that there's rodjek/rspec-puppet#772. So at least there is some legacy fact set. It should also be noted that in Linux when you remove the ipv6 kernel module you don't have a link local address at all, but I think we can consider that edge case unsupported. |
a082f37
to
a73c493
Compare
Currently not all factsets have networking.ip6. I'm wondering if we should enforce this.