Skip to content
This repository was archived by the owner on Aug 26, 2020. It is now read-only.
This repository was archived by the owner on Aug 26, 2020. It is now read-only.

cloudify-chef-plugin can not download the chef-solr cookbook correctly #25

@jessehu

Description

@jessehu

https://github.com/cloudify-cosmo/cloudify-chef-plugin/blob/master/chef_plugin/chef_client.py#L566

Because the cookbooks.tar.gz file is a binary file, the code above can not save the content of a binary file as a text file. The following code works:

os.system("sudo curl %s -o %s" % (cc['cookbooks'], file_name))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions