I am using the Puppet module windows_disable_ipv6 but it seems it's not really working.
# cat /etc/puppetlabs/code/environments/production/manifests/site.pp
node my_instance.net {
include windows_disable_ipv6
}
# cat /etc/puppetlabs/code/environments/production/hieradata/common.yaml
---
windows_disable_ipv6::ipv6_disable: true
windows_disable_ipv6::ipv6_reboot: true
# cat /etc/puppetlabs/puppet/hiera.yaml
---
:backends:
- yaml
:hierarchy:
- "nodes/%{::trusted.certname}"
- common
:yaml:
Windows
:datadir:
I checked the module's manifest. It changes the registry setting to '0xFFFFFFFF'
if it has to disable IPv6.
When i run puppet agent -t
on the agent, i do see that the key changes to above value and the system reboots but when i login again post-reboot, i see that the check-box for IPv6 is still enabled.
This link suggests using '0xff'
instead of '0xFFFFFFFF'
. I tried changing the value and then restarted the server as well but the issue still persists.
Any pointers?
The puppet modules disables IPv6 on the system which is validated through an ipconfig /all on the system. The checkbox simply handles the binding to the interface and doesn't actually disable IPv6 on the system.