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
This commit is contained in:
Yanis Guenane 2014-01-27 14:18:39 -05:00 committed by Emilien Macchi
parent ea706a253b
commit 38a8d7806e

View File

@ -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
}