diff --git a/metadata/service/server/cluster.yml b/metadata/service/server/cluster.yml new file mode 100644 index 0000000..eb0586d --- /dev/null +++ b/metadata/service/server/cluster.yml @@ -0,0 +1,50 @@ +applications: +- swift +parameters: + swift: + proxy: + enabled: true + secret_key: shared_hash_suffix + bind: + address: ${linux:network:host:local:address} + port: 8080 + cache: + members: + - host: ${linux:network:host:ctl01:address} + port: 11211 + - host: ${linux:network:host:ctl02:address} + port: 11211 + - host: ${linux:network:host:ctl03:address} + port: 11211 + ring: + partition_power: 3 + replicas: 3 + hours: 1 + identity: + engine: keystone + host: ${linux:network:host:vip:address} + port: 35357 + user: swift + password: vuugri3ubrisebfsuir23 + tenant: service + haproxy: + proxy: + listens: + - name: swift + type: general-service + binds: + - address: ${linux:network:host:vip:address} + port: 8080 + servers: + - name: ctl01 + host: ${linux:network:host:ctl01:address} + port: 8080 + params: check + - name: ctl02 + host: ${linux:network:host:ctl02:address} + port: 8080 + params: check + - name: ctl03 + host: ${linux:network:host:ctl03:address} + port: 8080 + params: check diff --git a/account.sls b/swift/account.sls similarity index 100% rename from account.sls rename to swift/account.sls diff --git a/common.sls b/swift/common.sls similarity index 100% rename from common.sls rename to swift/common.sls diff --git a/conf/account-server.conf b/swift/conf/account-server.conf similarity index 100% rename from conf/account-server.conf rename to swift/conf/account-server.conf diff --git a/conf/container-server.conf b/swift/conf/container-server.conf similarity index 100% rename from conf/container-server.conf rename to swift/conf/container-server.conf diff --git a/conf/object-server.conf b/swift/conf/object-server.conf similarity index 100% rename from conf/object-server.conf rename to swift/conf/object-server.conf diff --git a/conf/proxy-server.conf b/swift/conf/proxy-server.conf similarity index 100% rename from conf/proxy-server.conf rename to swift/conf/proxy-server.conf diff --git a/conf/swift.conf b/swift/conf/swift.conf similarity index 100% rename from conf/swift.conf rename to swift/conf/swift.conf diff --git a/container.sls b/swift/container.sls similarity index 100% rename from container.sls rename to swift/container.sls diff --git a/init.sls b/swift/init.sls similarity index 100% rename from init.sls rename to swift/init.sls diff --git a/object.sls b/swift/object.sls similarity index 100% rename from object.sls rename to swift/object.sls diff --git a/proxy.sls b/swift/proxy.sls similarity index 100% rename from proxy.sls rename to swift/proxy.sls diff --git a/ring_builder.sls b/swift/ring_builder.sls similarity index 100% rename from ring_builder.sls rename to swift/ring_builder.sls