From 6f5cf724e8aa4928fb43bf6f1afb026931095b26 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Tue, 14 Feb 2012 14:17:43 -0800 Subject: [PATCH] Update ring exported resources update the ports to be 6000-6002 and ensure that the zone parameter is set from $swift_zone. --- examples/multi.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/multi.pp b/examples/multi.pp index 9c663624..7a4dabac 100644 --- a/examples/multi.pp +++ b/examples/multi.pp @@ -118,20 +118,20 @@ class role_swift_storage inherits role_swift { require => Class['swift'], } - @@ring_object_device { "${swift_local_net_ip}:8001": - zone => 1, + @@ring_object_device { "${swift_local_net_ip}:6000": + zone => $swift_zone, device_name => 1, weight => 1, } - @@ring_container_device { "${swift_local_net_ip}:8002": - zone => 1, + @@ring_container_device { "${swift_local_net_ip}:6001": + zone => $swift_zone, device_name => 1, weight => 1, } - @@ring_account_device { "${swift_local_net_ip}:8003": - zone => 1, + @@ring_account_device { "${swift_local_net_ip}:6002": + zone => $swift_zone, device_name => 1, weight => 1, }