]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Use pkg_resources to detect version of cloud-init
authorClint Byrum <clint@fewbar.com>
Thu, 24 Jan 2013 05:59:58 +0000 (21:59 -0800)
committerClint Byrum <clint@fewbar.com>
Thu, 24 Jan 2013 05:59:58 +0000 (21:59 -0800)
commit8d6aa11e707dee66c421bc2906c166fc58c150dc
treef958180bc5bcbb259d1d0c1bab0beba4acdf0851
parentbf02c9263fc3dda59ed3900ac4b655644ee08db5
Use pkg_resources to detect version of cloud-init

Previously the present of an API call only present in cloud-init 0.6.x
was used to determine whether or not cfn-userdata would have been executed
or not. The API call was removed in 0.7.x. This Fixes bug #1103793

Change-Id: I27129f8ae6144ae7172b7159ed70fc5f0d7d07b9
heat/cloudinit/loguserdata.py