aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2012-01-11 02:39:44 -0200
committerdrebs <drebs@riseup.net>2012-01-11 02:39:44 -0200
commit65a18d8402abdc57ac83eb0a8dbc7d6dbe444f7b (patch)
treecf2959088b0d09f6fbeab2c3743bc046233789d1 /manifests
parentbe4af76b27428573d77127a6fa5b6b920398f1c5 (diff)
downloadpuppet-tor-65a18d8402abdc57ac83eb0a8dbc7d6dbe444f7b.tar.gz
puppet-tor-65a18d8402abdc57ac83eb0a8dbc7d6dbe444f7b.tar.bz2
fixing parameter path
Diffstat (limited to 'manifests')
-rw-r--r--manifests/daemon.pp14
1 files changed, 7 insertions, 7 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index 6553201..80759f1 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -74,7 +74,7 @@ class tor::daemon inherits tor {
file { "${spool_dir}/01.global":
content => template('tor/torrc.global.erb'),
require => File["${spool_dir}"],
- notify => Exec["concat_${config_file}"],
+ notify => Exec["concat_${tor::daemon::config_file}"],
ensure => $ensure,
owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
@@ -87,7 +87,7 @@ class tor::daemon inherits tor {
file { "${spool_dir}/02.socks":
content => template('tor/torrc.socks.erb'),
require => File["${spool_dir}"],
- notify => Exec["concat_${config_file}"],
+ notify => Exec["concat_${tor::daemon::config_file}"],
ensure => $ensure,
owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
@@ -110,7 +110,7 @@ class tor::daemon inherits tor {
file { "${spool_dir}/03.relay":
content => template('tor/torrc.relay.erb'),
require => File["${spool_dir}"],
- notify => Exec["concat_${config_file}"],
+ notify => Exec["concat_${tor::daemon::config_file}"],
ensure => $ensure,
owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
@@ -123,7 +123,7 @@ class tor::daemon inherits tor {
file { "${spool_dir}/04.control":
content => template('tor/torrc.control.erb'),
require => File["${spool_dir}"],
- notify => Exec["concat_${config_file}"],
+ notify => Exec["concat_${tor::daemon::config_file}"],
ensure => $ensure,
owner => 'debian-tor', group => 'debian-tor', mode => 0600,
}
@@ -135,7 +135,7 @@ class tor::daemon inherits tor {
file { "${spool_dir}/05.hidden_service.${name}":
content => template('tor/torrc.hidden_service.erb'),
require => File["${spool_dir}"],
- notify => Exec["concat_${config_file}"],
+ notify => Exec["concat_${tor::daemon::config_file}"],
ensure => $ensure,
owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
@@ -149,7 +149,7 @@ class tor::daemon inherits tor {
file { "${spool_dir}/06.directory":
content => template('tor/torrc.directory.erb'),
require => [ File["${spool_dir}"], File['/etc/tor/tor-exit-notice.html'] ],
- notify => Exec["concat_${config_file}"],
+ notify => Exec["concat_${tor::daemon::config_file}"],
ensure => $ensure,
owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}
@@ -168,7 +168,7 @@ class tor::daemon inherits tor {
file { "${spool_dir}/07.exit_policy.${name}":
content => template('tor/torrc.exit_policy.erb'),
require => File["${spool_dir}"],
- notify => Exec["concat_${config_file}"],
+ notify => Exec["concat_${tor::daemon::config_file}"],
ensure => $ensure,
owner => 'debian-tor', group => 'debian-tor', mode => 0644,
}