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:
Yanis Guenane 2014-05-29 11:00:29 -04:00
parent a57f1638b1
commit bd26a5e6d3

View File

@ -81,7 +81,7 @@ allow_versions = on
swift::storage::filter::healthcheck { $swift_components : }
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}":
zone => $swift_zone,