A Library Cookbook for interacting with the Github API
- Ubuntu
Downloads an asset from a Github release
- download - downloads the asset from the Github releaseto disk. (default)
- name - name of the asset to download (name attribute)
- release - name of the release the asset is a part of
- repo - repository the release is a part of (required for private repositories)
- github_token - Github token to perform the download with (required for private repositories)
- owner - owner of the downloaded asset on disk
- group - group of the downloaded asset on disk
- force - force downloading even if the asset already exists on disk
- retries - number of times to retry download
- retry_delay - number of seconds between attempts to download file
- checksum - SHA-256 of file, if the checksum does not match, the file is not used
Ensure the HTTPS_PROXY
environment variable is set for the shell executing chef-client
or chef-solo
. The value should be a fully qualified URL containing the host, port, username, and password for your proxy.
Author:: Jamie Winsor (jamie@vialstudios.com)