summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: 14a4e271dd7c6af3a3d6839ffd3becacb17a9e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class onion {
  class { 'tor::daemon': }

  # It's important to use a subdir from the tor datadir
  # to ease backup/restore procedures as we don't mix
  # hidden service data with other tor files.
  file { "${tor::daemon::data_dir}/hidden":
    ensure => directory, 
    owner  => 'debian-tor',
    group  => 'debian-tor',
    mode   => 0700,
  }
}