Merge pull request #1288 from jamiehannaford/rs-as-fix

Rackspace: Fix attribute name for Auto Scale servers
This commit is contained in:
Matt Martz 2015-06-18 10:45:43 -05:00
commit 34c7306a46

View file

@ -263,7 +263,7 @@ def rax_asg(module, cooldown=300, disk_config=None, files={}, flavor=None,
lc = sg.get_launch_config()
lc_args = {}
if server_name != lc.get('name'):
lc_args['name'] = server_name
lc_args['server_name'] = server_name
if image != lc.get('image'):
lc_args['image'] = image