summaryrefslogtreecommitdiff
path: root/packages
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 /packages
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 'packages')
-rw-r--r--packages/debian/control.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/debian/control.in b/packages/debian/control.in
index edb5aff5..dace0356 100644
--- a/packages/debian/control.in
+++ b/packages/debian/control.in
@@ -19,6 +19,7 @@ Standards-Version: 3.9.3
Package: cloud-init
Architecture: all
Depends: cloud-utils,
+ distribute,
procps,
python,
#for $r in $requires