summaryrefslogtreecommitdiff
path: root/openstack-swift.configure
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-01 15:59:51 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-04 15:34:40 +0000
commitc663be35ddaaf865ebee3eac2e285709e5be528e (patch)
treed76461d8b019a565ddd38a1a64a1dc6ef988aa2b /openstack-swift.configure
parent7b75b5caf862f162808e0c10065f762206da6dcc (diff)
downloaddefinitions-c663be35ddaaf865ebee3eac2e285709e5be528e.tar.gz
Add MANAGEMENT_INTERFACE_IP_ADDRESS variable
Ideally this would be inferred from the network information provided in the cluster, but at the moment the means to do that aren't available so we're forced to have the deployer provide this address. Note that this address is the ip for *this* node (the node we are deploying) that sits on the management network.
Diffstat (limited to 'openstack-swift.configure')
-rw-r--r--openstack-swift.configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/openstack-swift.configure b/openstack-swift.configure
index 2bcf1d62..b30b30c4 100644
--- a/openstack-swift.configure
+++ b/openstack-swift.configure
@@ -22,10 +22,15 @@ s/##STACK_ID/$STACK_ID/g
s/##KEYSTONE_INTERNAL_URL##/$KEYSTONE_INTERNAL_URL/g
s/##SWIFT_ADMIN_USER##/$SWIFT_ADMIN_USER/g
s/##SWIFT_ADMIN_PASSWORD##/$SWIFT_ADMIN_PASSWORD/g
+s/##MANAGEMENT_INTERFACE_IP_ADDRESS##/$MANAGEMENT_INTERFACE_IP_ADDRESS/g
EOF
sed -f "$ROOT"/etc/openstack-swift-setup.sed -i \
"$ROOT"/etc/swift/proxy-server.conf
+ "$ROOT"/etc/rsyncd.conf
+ "$ROOT"/etc/swift/account-server.conf
+ "$ROOT"/etc/swift/container-server.conf
+ "$ROOT"/etc/swift/object-server.conf
ln -s "/etc/systemd/system/openstack-swift-setup.service" \
"$ROOT/etc/systemd/system/multi-user.target.wants/openstack-swift-setup.service"