BBlack has submitted this change and it was merged.

Change subject: Disable IPv6 global autoconf if explicit addr config for 
interface
......................................................................


Disable IPv6 global autoconf if explicit addr config for interface

Should clean up the mess of wondering which global address is
configured in which order for source address selection.

Change-Id: I24fd4fbc04f7e81ad6ca162621d1211f8ffd14c2
---
M modules/interface/manifests/add_ip6_mapped.pp
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  BBlack: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/interface/manifests/add_ip6_mapped.pp 
b/modules/interface/manifests/add_ip6_mapped.pp
index 9a35c76..9a830ba 100644
--- a/modules/interface/manifests/add_ip6_mapped.pp
+++ b/modules/interface/manifests/add_ip6_mapped.pp
@@ -25,5 +25,10 @@
             address   => $ipv6_address,
             prefixlen => '64'
         }
+
+        sysctl::parameters { "ip6_disable_auto_${intf}":
+            values => { "net.ipv6.conf.${intf}.autoconf" => 0 },
+            priority => 65,
+        }
     }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/128089
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I24fd4fbc04f7e81ad6ca162621d1211f8ffd14c2
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to