ansible/cloud
Lars Kellogg-Stedman 06098a9d69 fix handling of nics argument
The existing code was receiving a list of strings and erroneously
assuming it was being given a list of dictionaries, leading it to fail
with:

    AttributeError: 'str' object has no attribute 'get'

This commit corrects the list handling code to check the type of each
item and handle it appropriately.   Also, based on bcoca's comment
in #2253, thie code removes the special case for a string-only argument.

By transforming string arguments into dicts and then handling them like
any other dict argument, this also permits arguments of the form:

    nics: net-name=mynet

Or:

    nics: port-name=mynet

Previous versions of this code only supported `net-id` and `port-id` in
string specifications.
2015-10-18 21:54:40 -04:00
..
amazon added note on when reboot command became available 2015-10-17 00:49:01 -04:00
azure keep backwards compatibility 2015-10-03 14:03:54 -03:00
digital_ocean Fixed bug, when MX records pointed to ORIGIN(@) caused unintentional change of random A record. 2015-06-28 21:50:11 +02:00
docker Merge pull request #2258 from SamYaple/fix_docker_bug_2257 2015-10-14 11:31:06 -04:00
google Delete dead and broken code 2015-08-24 20:06:53 +02:00
linode Updating cloud modules with proper github author information 2015-06-15 14:41:22 -04:00
openstack fix handling of nics argument 2015-10-18 21:54:40 -04:00
rackspace added version added to new rax_cdb choices 2015-10-07 21:30:17 -04:00
vmware Merge pull request #1757 from gutoandreollo/devel 2015-09-14 15:08:47 -04:00
__init__.py package files 2014-09-26 11:05:47 -04:00