Faidon Liambotis has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/350776 )

Change subject: gerrit: switch to interface::alias
......................................................................

gerrit: switch to interface::alias

This is not a straight replacement: the new manifests adds the
preferred_lft 0 as an option to the IPv6 address which didn't exist
before (even though it should had!). Easier to cleanup manually as these
are just a couple of hosts that are affected.

Change-Id: Ice5366f09c75122bbfc04e869d2daf375ec5d0f6
---
M modules/profile/manifests/gerrit/server.pp
1 file changed, 3 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/76/350776/1

diff --git a/modules/profile/manifests/gerrit/server.pp 
b/modules/profile/manifests/gerrit/server.pp
index 84725b9..98ac157 100644
--- a/modules/profile/manifests/gerrit/server.pp
+++ b/modules/profile/manifests/gerrit/server.pp
@@ -9,18 +9,9 @@
     $bacula = hiera('gerrit::server::bacula'),
 ) {
 
-    interface::ip { 'role::gerrit::server_ipv4':
-        interface => 'eth0',
-        address   => $ipv4,
-        prefixlen => '32',
-    }
-
-    if $ipv6 != undef {
-        interface::ip { 'role::gerrit::server_ipv6':
-            interface => 'eth0',
-            address   => $ipv6,
-            prefixlen => '128',
-        }
+    interface::alias { 'gerrit server':
+        ipv4 => $ipv4,
+        ipv6 => $ipv6,
     }
 
     # Detect if we're a master or a slave. If we're been given a master host

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice5366f09c75122bbfc04e869d2daf375ec5d0f6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <[email protected]>

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

Reply via email to