Use ensure_resource instead of create_resources
create_resources doesn't allow to pass array of values but a hash. Which prevent it from working as we expect.
This commit is contained in:
parent
a57f1638b1
commit
bd26a5e6d3
@ -81,7 +81,7 @@ allow_versions = on
|
|||||||
swift::storage::filter::healthcheck { $swift_components : }
|
swift::storage::filter::healthcheck { $swift_components : }
|
||||||
|
|
||||||
create_resources("swift::storage::${fstype}", $device_config_hash)
|
create_resources("swift::storage::${fstype}", $device_config_hash)
|
||||||
create_resources('cloud::object::set_io_scheduler', $device_config_hash)
|
ensure_resource('cloud::object::set_io_scheduler', keys($device_config_hash))
|
||||||
|
|
||||||
@@ring_container_device { "${storage_eth}:${container_port}/${ring_container_device}":
|
@@ring_container_device { "${storage_eth}:${container_port}/${ring_container_device}":
|
||||||
zone => $swift_zone,
|
zone => $swift_zone,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user