From c1f3358a66ea80f5768714a668d25495744ccd44 Mon Sep 17 00:00:00 2001 From: Edward Hope-Morley Date: Fri, 27 Nov 2015 09:28:53 +0000 Subject: [PATCH] fix minor nit in template --- templates/050-swift-storage.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/050-swift-storage.conf b/templates/050-swift-storage.conf index 7a1ae80..f187a97 100644 --- a/templates/050-swift-storage.conf +++ b/templates/050-swift-storage.conf @@ -5,7 +5,9 @@ max connections = {{ account_max_connections }} path = /srv/node/ read only = false lock file = /var/lock/account.lock +{% if allowed_hosts -%} hosts allow = {{ allowed_hosts }} +{% endif %} [container] uid = swift @@ -14,7 +16,9 @@ max connections = {{ container_max_connections }} path = /srv/node/ read only = false lock file = /var/lock/container.lock +{% if allowed_hosts -%} hosts allow = {{ allowed_hosts }} +{% endif %} [object] uid = swift