diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-11-04 10:13:05 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-11-04 10:13:05 -0500 |
commit | 9dff4e68bf1e40fac6b8e957f06a06b420a0e887 (patch) | |
tree | 306735f0511870e1a45ddc7d5d78ba663bd166d4 /bin/openshift_ansible | |
parent | e275c1d17872f9727af3ac63ebae2d8a1b088649 (diff) | |
parent | 4b85e4fae04a71cf2cea17018b9240b369f145d5 (diff) | |
download | openshift-9dff4e68bf1e40fac6b8e957f06a06b420a0e887.tar.gz openshift-9dff4e68bf1e40fac6b8e957f06a06b420a0e887.tar.bz2 openshift-9dff4e68bf1e40fac6b8e957f06a06b420a0e887.tar.xz openshift-9dff4e68bf1e40fac6b8e957f06a06b420a0e887.zip |
Merge pull request #793 from kwoodson/multiinventory
Renamed multi_ec2 to multi_inventory. Adding support for gce to mult_inventory.
Diffstat (limited to 'bin/openshift_ansible')
-rw-r--r-- | bin/openshift_ansible/awsutil.py | 11 |
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.""" |