summaryrefslogtreecommitdiffstats
path: root/bin/openshift_ansible/awsutil.py
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-11-04 15:05:06 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-11-04 15:05:06 -0400
commit153c57d6bda48276bc1f8be520145780fa119941 (patch)
tree7bcd0ddd715a688e9695bd65c642a89e1cda2687 /bin/openshift_ansible/awsutil.py
parent215a7aacc2fc3df19a64a2a57910516533665423 (diff)
parent896b9c63292a50dce8e7aa00a889dfd52a3a8474 (diff)
downloadopenshift-153c57d6bda48276bc1f8be520145780fa119941.tar.gz
openshift-153c57d6bda48276bc1f8be520145780fa119941.tar.bz2
openshift-153c57d6bda48276bc1f8be520145780fa119941.tar.xz
openshift-153c57d6bda48276bc1f8be520145780fa119941.zip
Merge remote-tracking branch 'upstream/master' into upgrade
Diffstat (limited to 'bin/openshift_ansible/awsutil.py')
-rw-r--r--bin/openshift_ansible/awsutil.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/openshift_ansible/awsutil.py b/bin/openshift_ansible/awsutil.py
index 9df034f57..45345007c 100644
--- a/bin/openshift_ansible/awsutil.py
+++ b/bin/openshift_ansible/awsutil.py
@@ -4,7 +4,10 @@
import os
import re
-from openshift_ansible import multi_ec2
+
+# Buildbot does not have multi_inventory installed
+#pylint: disable=no-name-in-module
+from openshift_ansible import multi_inventory
class ArgumentError(Exception):
"""This class is raised when improper arguments are passed."""
@@ -49,9 +52,9 @@ class AwsUtil(object):
Keyword arguments:
args -- optional arguments to pass to the inventory script
"""
- mec2 = multi_ec2.MultiEc2(args)
- mec2.run()
- return mec2.result
+ minv = multi_inventory.MultiInventory(args)
+ minv.run()
+ return minv.result
def get_environments(self):
"""Searches for env tags in the inventory and returns all of the envs found."""