Resource Type: githubreleases_download
- Defined in:
- lib/puppet/type/githubreleases_download.rb
- Providers:
-
githubreleases_download
Overview
downloads release artifacts from Github
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
Parameters
-
asset
(defaults to: false)
Request the download of an asset
Supported values:- true
- false
- yes
- no
-
asset_contenttype
(defaults to: .*)
A RegExp pattern of the requested content type of the asset
-
asset_fallback
(defaults to: false)
If asset can't be found, download a source tar- or zipball instead
Supported values:- true
- false
- yes
- no
-
asset_filepattern
(defaults to: .*)
A RegExp filepattern that the requested assed must patch
-
author
Github author of the requested release
-
is_tag
(defaults to: false)
The given release is a tag
Supported values:- true
- false
- yes
- no
-
password
(defaults to: '')
GitHub password to use
-
provider
The specific backend to use for this ‘githubreleases_download` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
-
release
(defaults to: latest)
The release or tag to download
-
repository
Github repository of the requested release
-
target
Target path to use (defaults to name of the ressource)
-
use_auth
(defaults to: false)
Authenticate with the GitHub API to circumvent rate limiting
Supported values:- true
- false
- yes
- no
-
use_oauth
(defaults to: false)
Use OAuth authentication instead of basic authentication.
Supported values:- true
- false
- yes
- no
-
use_zip
(defaults to: false)
Use a zipball instead of a tarball when requesting non-asset artifacts
Supported values:- true
- false
- yes
- no
-
username
(defaults to: '')
GitHub username to use