summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: 40a0ae5aab9dad7b6362293baa484da08a9b3279 (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',
  }
}