Forge Home


This class downloads and decompresses files as well as managing their permissions.


10,700 latest version

1.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

  • 1.0.0 (latest)
released Jan 8th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'runthebusiness-fetchfile', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add runthebusiness-fetchfile
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install runthebusiness-fetchfile --version 1.0.0

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.



runthebusiness/fetchfile — version 1.0.0 Jan 8th 2013


This class downloads and decompresses files as well as managing their permissions.

This is a very simple module that downloads files (if they are not already present at the destination) and then moves or decompresses those files and sets the resulting files/directories ownerships and permissions.

We created this module because we found our selves using the same pattern of multiple exec executions over and over again in our manifests and decided it would be better to build a resource type to handle these common sorts of operations.


    downloadurl=><url to download a file from>,
    downloadfile=><name of the file the download will create>,
    downloadto=><where to download the file too>,
    desintationpath=><where to put the decompressed or moved version of the file after it's been downloaded>,
    destinationfile=><name of the file or directory that the decompressed file creates>,
    owner=><owner of destination file>,
    group=><group of destination file>,
    mode=><permissions of destination file>

This module has been tested in debian squeeze with tar.gz files, if you use it in another flavor or other compression formats and it works fine as is or if you have improvements/issues/fixes please let us know.


Will Ferrer, Ethan Brooks


2012 developed under license for Switchsoft LLC a "Direct response telephony company" as part of it's "VOIP Call distribution, ROI analysis platform, call recording, and IVR for inbound and outbound sales" and Run the Business Systems LLC a "Technology development investment group" as part of it's "PHP, Javascript rapid application development framework and MySQL analysis tools"


Licensed under the terms of the Open Source LGPL 3.0 license.



Please send tickets and issues to our contact email address or at:

Project Url