Update ring exported resources
update the ports to be 6000-6002 and ensure that the zone parameter is set from $swift_zone.
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user