blob: d04917832901557bf916789d9a5d7dcb9f7a527b (
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',
}
}
|