Browse code

Copy container-sync-realms.conf in /etc/swift

We need the new container-sync realms configuration or we will get a
nasty harmless error opening file at swift proxy startup.

Change-Id: If939da305dcb9403c418219032ac6b50b0099bd3
Closes-Bug: 1274295

Chmouel Boudjnah authored on 2014/01/30 06:38:14
Showing 1 changed files
... ...
@@ -258,6 +258,8 @@ function configure_swift() {
258 258
     SWIFT_CONFIG_PROXY_SERVER=${SWIFT_CONF_DIR}/proxy-server.conf
259 259
     cp ${SWIFT_DIR}/etc/proxy-server.conf-sample ${SWIFT_CONFIG_PROXY_SERVER}
260 260
 
261
+    cp ${SWIFT_DIR}/etc/container-sync-realms.conf-sample ${SWIFT_CONF_DIR}/container-sync-realms.conf
262
+
261 263
     iniuncomment ${SWIFT_CONFIG_PROXY_SERVER} DEFAULT user
262 264
     iniset ${SWIFT_CONFIG_PROXY_SERVER} DEFAULT user ${STACK_USER}
263 265