Forge Home


Managed the script with Puppet


8,519 latest version

3.8 quality score

Version information

  • 0.1.0 (latest)
released Apr 14th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'WhatsARanjit-torrentexpander', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add WhatsARanjit-torrentexpander
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install WhatsARanjit-torrentexpander --version 0.1.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.



WhatsARanjit/torrentexpander — version 0.1.0 Apr 14th 2014

Torrentexpander Module


This will setup and install to use in conjunction with your existing torrent setup.



  • *nix operating system
  • rar: installable through this module

Torrentexpander Parameters

  • install_dir The directory in which to deploy the and torrentexpander_settings.ini files. Required.

  • user The user you want the script to be owned by. Default: root

  • group The group you want the script to be owned by. Default: root

  • tmp_dir The directory in which will place temporary files for expansion. Default: /tmp

  • manage_rar Rar must be installed for to work. Select false if you are installing the rar package elsewhere. Default: true

Example Usage

Install torrentexpander into /root/bin:

class { 'torrentexpander': install_dir => '/root/bin', }

Install torrentexpander into /root/bin and owned by torrent user and group:

class { 'torrentexpander':
  install_dir => '/root/bin',
  user        => 'torrent',
  group       => 'torrent',

Install torrentexpander into /torrent/scripts without managing rar:

class { 'torrentexpander':
  install_dir => '/root/bin',
  manage_rar  => false,

Install torrentexpander into /var/lib/transmission/bin using /var/tmp for a temporary directory:

class { 'torrentexpander':
  install_dir => '/var/lib/transmission/bin',
  tmp_dir     => '/var/tmp',

Parameters for torrentexpander_settings.ini

There are a variety of parameters specific to torrentexpander as detailed here: The params and their defaults are listed in params.pp.