Forge Home

torrentexpander

Managed the torrentexpander.sh script with Puppet

8,168 downloads

8,168 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.

Download

Documentation

WhatsARanjit/torrentexpander — version 0.1.0 Apr 14th 2014

Torrentexpander Module

Overview

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

Capabilities

Requires:

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

Torrentexpander Parameters

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

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

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

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

  • manage_rar Rar must be installed for torrentexpander.sh 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: https://code.google.com/p/torrentexpander/. The params and their defaults are listed in params.pp.