diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | cloudinit/config/cc_chef.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,5 @@ 0.7.3: + - fix omnibus chef installer (LP: #1182265) [Chris Wing] 0.7.2: - add a debian watch file - add 'sudo' entry to ubuntu's default user (LP: #1080717) diff --git a/cloudinit/config/cc_chef.py b/cloudinit/config/cc_chef.py index 607f789e..727769cd 100644 --- a/cloudinit/config/cc_chef.py +++ b/cloudinit/config/cc_chef.py @@ -110,7 +110,7 @@ def handle(name, cfg, cloud, log, _args): with util.tempdir() as tmpd: # use tmpd over tmpfile to avoid 'Text file busy' on execute tmpf = "%s/chef-omnibus-install" % tmpd - util.write_file(tmpf, content, mode=0700) + util.write_file(tmpf, str(content), mode=0700) util.subp([tmpf], capture=False) else: log.warn("Unknown chef install type %s", install_type) |