From 42d8127f79012c9ee34b0a5913a52f4f3b494cae Mon Sep 17 00:00:00 2001 From: rallytime Date: Fri, 25 Sep 2015 12:43:59 -0600 Subject: [PATCH] Don't set the optional_products default to a boolean, and then try to loop. --- salt/cloud/clouds/softlayer_hw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/cloud/clouds/softlayer_hw.py b/salt/cloud/clouds/softlayer_hw.py index 804d5dc71f..f8120dfbeb 100644 --- a/salt/cloud/clouds/softlayer_hw.py +++ b/salt/cloud/clouds/softlayer_hw.py @@ -445,7 +445,7 @@ def create(vm_): } optional_products = config.get_cloud_config_value( - 'optional_products', vm_, __opts__, default=True + 'optional_products', vm_, __opts__, default=[] ) for product in optional_products: kwargs['prices'].append({'id': product})