summaryrefslogtreecommitdiff
path: root/puppet/modules/tor/manifests/base.pp
blob: b98451be1dae0177d9c2fc162a85e0a378a16cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# basic management of resources for tor
class tor::base {
  package { [ 'tor', 'tor-geoipdb' ]:
    ensure => $tor::ensure_version,
  }

  service { 'tor':
    ensure     => running,
    enable     => true,
    hasrestart => true,
    hasstatus  => true,
    require    => Package['tor'],
  }
}