cookbook 'github', '= 0.3.1'
github
(25) Versions
0.3.1
-
Follow9
A Library Cookbook for interacting with the Github API
cookbook 'github', '= 0.3.1', :supermarket
knife supermarket install github
knife supermarket download github
github-cookbook
A Library Cookbook for interacting with the Github API
Supported Platforms
- Ubuntu
github_asset Resource/Provider
Downloads an asset from a Github release
Actions
- download - downloads the asset from the Github releaseto disk. (default)
Parameter Attributes
- 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
HTTP proxy support
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
Author:: Jamie Winsor (jamie@vialstudios.com)
Foodcritic Metric
0.3.1 failed this metric
FC005: Avoid repetition of resource declarations: /tmp/cook/44ae64ff013c5f6ec9526bf0/github/providers/deploy.rb:46
FC009: Resource attribute not recognised: /tmp/cook/44ae64ff013c5f6ec9526bf0/github/providers/asset.rb:19
0.3.1 failed this metric
FC009: Resource attribute not recognised: /tmp/cook/44ae64ff013c5f6ec9526bf0/github/providers/asset.rb:19