From 24b73616134254b3b4106a9a7aa1a41da06c8f01 Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Mon, 27 Jan 2014 14:18:39 -0500 Subject: [PATCH] Fix Swift called with bad argument. The value of `${auth_url}` is interpolated into the onlyif/unless of exec swift-dispersion-populate. This is a quick & dirty fix that let us use a non-interpolated variable. The proper way would be to add `endpoint_type` as a parameter to the dispersion.pp file in the puppet-swift module. close #58 --- manifests/object/controller.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manifests/object/controller.pp b/manifests/object/controller.pp index e0b4806e..1d634347 100644 --- a/manifests/object/controller.pp +++ b/manifests/object/controller.pp @@ -87,8 +87,9 @@ cache = swift.cache') } class { 'swift::dispersion': - auth_url => "http://${ks_keystone_internal_host}:${ks_keystone_internal_port}/v2.0 -endpoint_type=internalURL", + auth_url => "http://${ks_keystone_internal_host}:${ks_keystone_internal_port}/v2.0", + swift_dir => '/etc/swift +endpoint_type=internalURL', auth_pass => $ks_swift_dispersion_password }