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

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

cassandra: switch to interface::alias

rpc_interface should probably get dropped altogether as non-DRY (100
matches in hiera all with the same value!), but this will do for now.

Change-Id: Id6882a15b0a5a795cd2bd897049fe9c05988b0ca
---
M modules/cassandra/manifests/instance.pp
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/75/350775/1

diff --git a/modules/cassandra/manifests/instance.pp 
b/modules/cassandra/manifests/instance.pp
index 3338424..4d47a11 100644
--- a/modules/cassandra/manifests/instance.pp
+++ b/modules/cassandra/manifests/instance.pp
@@ -50,10 +50,9 @@
     $jmx_exporter_enabled = $this_instance['jmx_exporter_enabled']
 
     if $rpc_interface {
-        interface::ip { "cassandra-${instance_name}_rpc_${rpc_interface}":
+        interface::alias { "cassandra-${instance_name}_rpc_${rpc_interface}":
+            ipv4      => $rpc_address,
             interface => $rpc_interface,
-            address   => $rpc_address,
-            prefixlen => '32',
         }
     }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id6882a15b0a5a795cd2bd897049fe9c05988b0ca
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