Forge Home


Deploy the Tor onion router.


5,662 latest version

4.1 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.2.0 (latest)
  • 1.1.0
  • 1.0.0
released Jul 16th 2017
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=2.7.20 <5.0.0
  • , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'razorsedge-tor', '1.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add razorsedge-tor
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install razorsedge-tor --version 1.2.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.

Tags: rhel, fedora, centos, tor, oel


razorsedge/tor — version 1.2.0 Jul 16th 2017

Puppet Tor Module

master branch Build Status develop branch Build Status


This module installs the Tor onion router from the Tor Project's software repository. Tor protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, and it prevents the sites you visit from learning your physical location. Tor works with many of your existing applications, including web browsers, instant messaging clients, remote login, and other applications based on the TCP protocol.


  • Installs the Tor Project's YUM repositories.
  • Installs Tor.

OS Support:

  • RedHat family - tested on CentOS 5.8+ and CentOS 6.3+
  • Debian family - presently unsupported (patches welcome)

Class documentation is available via puppetdoc.


# Top Scope variable (i.e. via Dashboard):
tor_socksport = ''
include 'tor'

# Parameterized Class:
class { 'tor':
  socksport => '',


  • None


  • None


  • Allow users to choose Fedora or EPEL YUM repos?
  • Allow for removal of yumrepo.


Please see for contribution information.


Please see LICENSE file.


Copyright (C) 2012 Mike Arnold

razorsedge/puppet-tor on GitHub

razorsedge/tor on Puppet Forge