Don't set the optional_products default to a boolean, and then try to loop.

This commit is contained in:
rallytime 2015-09-25 12:43:59 -06:00
parent 9d8a3d8303
commit 42d8127f79

View File

@ -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})