summaryrefslogtreecommitdiff
path: root/Requires
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-11-12 10:01:02 -0500
committerScott Moser <smoser@ubuntu.com>2012-11-12 10:01:02 -0500
commit7446280d1398f7dc8ad74a792416cd82a5873d67 (patch)
treef050693a881d4ef9ac63bf2cf430082714c71b5a /Requires
parent71ba36704132ff8597dfc0e45b34e0c4424e239f (diff)
parent7fd838c187ad004d124c9293d91fdb4fca083f66 (diff)
downloadvyos-cloud-init-7446280d1398f7dc8ad74a792416cd82a5873d67.tar.gz
vyos-cloud-init-7446280d1398f7dc8ad74a792416cd82a5873d67.zip
wrap boto.utils.get_instance_metadata to ensure non-lazy loading
newer versions of boto lazily load the metadata from the ec2 metadata service. Here, we: 1. Add a ec2_utils module that checks which version of boto is being used and under the right versions the metadata dictionary will be expanded. 2. Use this new ec2_utils module in the cloudstack and ec2 datasources as there entrypoints into boto. 3. Add a dependency on python-pkg-resources (from pkg_resources import parse_version) to determine the boto version. LP: #1068801
Diffstat (limited to 'Requires')
0 files changed, 0 insertions, 0 deletions