Process CacheNodeIdsToReboot complex type for cache clusters

pull/11261/head
Victor Schröder 10 years ago
parent ffd74049da
commit 43f9a653d0

@ -1099,6 +1099,7 @@ class Ec2Inventory(object):
if key == 'ec2_member_clusters' and value: if key == 'ec2_member_clusters' and value:
host_info['ec2_member_clusters'] = ','.join([str(i) for i in value]) host_info['ec2_member_clusters'] = ','.join([str(i) for i in value])
elif key == 'ec2_cache_parameter_group': elif key == 'ec2_cache_parameter_group':
host_info["ec2_cache_node_ids_to_reboot"] = ','.join([str(i) for i in value['CacheNodeIdsToReboot']])
host_info['ec2_cache_parameter_group_name'] = value['CacheParameterGroupName'] host_info['ec2_cache_parameter_group_name'] = value['CacheParameterGroupName']
host_info['ec2_cache_parameter_apply_status'] = value['ParameterApplyStatus'] host_info['ec2_cache_parameter_apply_status'] = value['ParameterApplyStatus']
elif key == 'ec2_security_groups': elif key == 'ec2_security_groups':

Loading…
Cancel
Save