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:
parent
ea706a253b
commit
38a8d7806e
@ -87,8 +87,9 @@ cache = swift.cache')
|
|||||||
}
|
}
|
||||||
|
|
||||||
class { 'swift::dispersion':
|
class { 'swift::dispersion':
|
||||||
auth_url => "http://${ks_keystone_internal_host}:${ks_keystone_internal_port}/v2.0
|
auth_url => "http://${ks_keystone_internal_host}:${ks_keystone_internal_port}/v2.0",
|
||||||
endpoint_type=internalURL",
|
swift_dir => '/etc/swift
|
||||||
|
endpoint_type=internalURL',
|
||||||
auth_pass => $ks_swift_dispersion_password
|
auth_pass => $ks_swift_dispersion_password
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user