Forge Home


Download and install packages from tarballs with with Puppet


7,004 latest version

1.9 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.5.4 (latest)
  • 0.5.3
  • 0.5.2
  • 0.5.1
  • 0.5.0
released Feb 16th 2017

Start using this module

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

Add this module to your Puppetfile:

mod 'geoffwilliams-easy_install', '0.5.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add geoffwilliams-easy_install
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install geoffwilliams-easy_install --version 0.5.4

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.



geoffwilliams/easy_install — version 0.5.4 Feb 16th 2017

Build Status


Table of Contents

  1. Description
  2. Usage - Configuration options and additional functionality
  3. Reference - An under-the-hood peek at what the module is doing and how
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module


Download and install packages from tarballs with with Puppet


What easy_install affects

  • Install a hash of prerequisite packages on the system if required
  • Create a user and group if required
  • Download, extract and run the installer



class { "easy_install":
  media_source   => "",
  user           => "coolapp"
  creates        => "/opt/coolapp"

Download tarball from media source, extract and run installer:

  • Run as user 'coolapp'
  • Only runs if /opt/coolapp does not yet exist (to prevent constant re-installation)


class { "easy_install":
  media_source   => "",
  prereq_package => {"foo"=>{}, "bar"=>{}},
  environment    => "FOO=bar",
  arguments      => "--foo",

You can set parameters to the easy_install class to suit your needs, see class definition for details.

In this example, we:

  • Supplied a different list of prerequisites packages to install (foo and bar)
  • Supplied a custom environment to run the installation script (set shell variables, etc)
  • Passed the --foo option to our installer script


Defined resource types

  • easy_install - Install BMC Patrol agent


  • Proxies not supported
  • Download platform must be supported by puppet-archive
  • Not supported by Puppet, Inc.


PRs accepted :)


This module supports testing using PDQTest.

Test can be executed with:

bundle install
bundle exec pdqtest all

See .travis.yml for a working CI example