diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-21 13:00:01 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-21 13:00:01 -0200 |
commit | 14d954ff02564493192fe1fc9ad3a148ba20ef60 (patch) | |
tree | ab357f31886f7a2eba7e6a40d87e60035c9cc6db /manifests | |
parent | baf3e104280e0ac2ee43358e92f75db617d99190 (diff) | |
download | puppet-mail-14d954ff02564493192fe1fc9ad3a148ba20ef60.tar.gz puppet-mail-14d954ff02564493192fe1fc9ad3a148ba20ef60.tar.bz2 |
Updating tor configuration
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/hidden.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/hidden.pp b/manifests/hidden.pp index bdddcf2..65504bf 100644 --- a/manifests/hidden.pp +++ b/manifests/hidden.pp @@ -5,8 +5,8 @@ class mail::hidden { # 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. - if !defined(File["$tor::daemon::data_dir/hidden"]) { - file { "$tor::daemon::data_dir/hidden": + if !defined(File["${tor::daemon::data_dir}/hidden"]) { + file { "${tor::daemon::data_dir}/hidden": ensure => directory, owner => 'debian-tor', group => 'debian-tor', @@ -16,7 +16,7 @@ class mail::hidden { tor::daemon::hidden_service { 'mail': ports => [ '80 127.0.0.1:80', '25 127.0.0.1:25', '993 127.0.0.1:993' ], - data_dir => "$tor::daemon::data_dir/hidden", - require => File["$tor::daemon::data_dir/hidden"], + data_dir => "${tor::daemon::data_dir}/hidden", + require => File["${tor::daemon::data_dir}/hidden"], } } |