From bd26a5e6d31dcb2948575f2b9b0cd2657de2b236 Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Thu, 29 May 2014 11:00:29 -0400 Subject: [PATCH] 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. --- manifests/object/storage.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/object/storage.pp b/manifests/object/storage.pp index a06cb7dd..e170f2e9 100644 --- a/manifests/object/storage.pp +++ b/manifests/object/storage.pp @@ -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,