AC-613 Change rackspace to rax for inventory source field value.

This commit is contained in:
Chris Church
2013-11-16 16:48:27 -05:00
parent 902c7c2d72
commit f254f8bc92
6 changed files with 10 additions and 10 deletions

View File

@@ -816,7 +816,7 @@ class RunInventoryUpdate(BaseTask):
args.extend(['--enabled-var', 'ec2_state'])
args.extend(['--enabled-value', 'running'])
#args.extend(['--instance-id', 'ec2_id'])
elif inventory_source.source in == 'rax':
elif inventory_source.source == 'rax':
rax_path = self.get_path_to('..', 'plugins', 'inventory', 'rax.py')
args.append(rax_path)
args.extend(['--enabled-var', 'rax_status'])