diff options
author | Chris Wing <wingc@umich.edu> | 2013-05-20 20:44:32 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-05-20 20:44:32 -0400 |
commit | e98380cb087a562a2cda7e13a99ce0bb0333b51b (patch) | |
tree | 1d06b5460df8c6ea7d5cab8865e18a2bb164c315 /cloudinit | |
parent | 4231e5df67160362d40c5f2976e8965a13de8ef0 (diff) | |
parent | 9a72f2e9d7f4e5fcfbd40fc7f0ecc86680f995df (diff) | |
download | vyos-cloud-init-e98380cb087a562a2cda7e13a99ce0bb0333b51b.tar.gz vyos-cloud-init-e98380cb087a562a2cda7e13a99ce0bb0333b51b.zip |
Fix chef omnibus installation support.
LP: #1182265
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/config/cc_chef.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |