1
Author: Ben Howard <ben.howard@ubuntu.com>
2
Bug: https://launchpad.net/bugs/1247262
4
Description: SmartOS datasource should use futil.is_true
5
Index: cloud-init-0.6.3/cloudinit/DataSourceSmartOS.py
6
===================================================================
7
--- cloud-init-0.6.3.orig/cloudinit/DataSourceSmartOS.py 2013-11-01 13:45:41.641485219 -0600
8
+++ cloud-init-0.6.3/cloudinit/DataSourceSmartOS.py 2013-11-01 13:46:01.165485485 -0600
11
b64_all = self.query('base64_all', strip=True, b64=False)
12
if b64_all is not None:
13
- self.b64_all = util.is_true(b64_all)
14
+ self.b64_all = futil.is_true(b64_all)
16
for ci_noun, attribute in SMARTOS_ATTRIB_MAP.iteritems():
17
smartos_noun, strip = attribute
19
b64 = query_data('b64-%s' % noun, seed_device=seed_device,
20
seed_timeout=seed_timeout, b64=False,
21
default=False, strip=True)
22
- b64 = util.is_true(b64)
23
+ b64 = futil.is_true(b64)