Forge Home

gitartifact

Download GitHub artifacts associated with releases on public or private repositories.

9,640 downloads

9,640 latest version

3.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.3.1 (latest)
released Oct 19th 2014
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'danielburrell-gitartifact', '0.3.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add danielburrell-gitartifact
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install danielburrell-gitartifact --version 0.3.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

danielburrell/gitartifact — version 0.3.1 Oct 19th 2014

gitartifact

This is the gitartifact module. It allows you to download release-artifacts from private GitHub repositories (public repositories coming soon).

Simply provide the account, repository name, release tag and some substring of the filename you want downloaded.

For private repositories provide your oauth key.

Tell it where you want the artifact downloaded.

Useful for making package{} (dpkg) closed-source installations without needing to subscribe to expensive private binary hosting services and avoid maintaining your own apt PPA.

Example

gitartifact { "mygitartifact":
        account => "danielburrell",
        repository => "repo",
        releasetag => "0.0.2",
        pattern => "partialmatch.deb",
        oauth => "YOUR_OAUTH_TOKEN_HERE",
        destination => '/home/dan/gitartifact_0.0.1-SNAPSHOT.deb',
}