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'],
|
require => Class['swift'],
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ring_object_device { "${swift_local_net_ip}:8001":
|
@@ring_object_device { "${swift_local_net_ip}:6000":
|
||||||
zone => 1,
|
zone => $swift_zone,
|
||||||
device_name => 1,
|
device_name => 1,
|
||||||
weight => 1,
|
weight => 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ring_container_device { "${swift_local_net_ip}:8002":
|
@@ring_container_device { "${swift_local_net_ip}:6001":
|
||||||
zone => 1,
|
zone => $swift_zone,
|
||||||
device_name => 1,
|
device_name => 1,
|
||||||
weight => 1,
|
weight => 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ring_account_device { "${swift_local_net_ip}:8003":
|
@@ring_account_device { "${swift_local_net_ip}:6002":
|
||||||
zone => 1,
|
zone => $swift_zone,
|
||||||
device_name => 1,
|
device_name => 1,
|
||||||
weight => 1,
|
weight => 1,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user