From 924bff94817302a003e7bec64594fcb4b7c6bb3c Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Tue, 2 Sep 2014 14:46:31 -0500 Subject: [PATCH] Ensure that files is the right type, and that we send the formatted personality var --- cloud/rax_scaling_group.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud/rax_scaling_group.py b/cloud/rax_scaling_group.py index 16be9ac4c0f..3b7fa8f4aca 100644 --- a/cloud/rax_scaling_group.py +++ b/cloud/rax_scaling_group.py @@ -225,7 +225,7 @@ def rax_asg(module, cooldown=300, disk_config=None, files={}, flavor=None, launch_config_type='launch_server', server_name=server_name, image=image, flavor=flavor, disk_config=disk_config, - metadata=meta, personality=files, + metadata=meta, personality=personality, networks=nics, load_balancers=lbs, key_name=key_name, config_drive=config_drive, user_data=user_data) @@ -317,7 +317,7 @@ def main(): config_drive=dict(default=False, type='bool'), cooldown=dict(type='int', default=300), disk_config=dict(choices=['auto', 'manual']), - files=dict(type='list', default=[]), + files=dict(type='dict', default={}), flavor=dict(required=True), image=dict(required=True), key_name=dict(),