summaryrefslogtreecommitdiff
path: root/manifests/munin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/munin.pp')
-rw-r--r--manifests/munin.pp10
1 files changed, 6 insertions, 4 deletions
diff --git a/manifests/munin.pp b/manifests/munin.pp
index 2a01175..f718c37 100644
--- a/manifests/munin.pp
+++ b/manifests/munin.pp
@@ -2,17 +2,19 @@
class tor::munin {
tor::daemon::control{
'control_port_for_munin':
- port => 19051,
+ port => 9001,
cookie_authentication => 1,
cookie_auth_file => '/var/run/tor/control.authcookie',
}
+ include ::tor::daemon::params
Munin::Plugin::Deploy {
- config => "user debian-tor\n env.cookiefile /var/run/tor/control.authcookie\n env.port 19051" # lint:ignore:80chars
+ config => "user ${tor::daemon::params::user}\n env.cookiefile /var/run/tor/control.authcookie\n env.port 9001" # lint:ignore:80chars
}
munin::plugin::deploy {
- 'tor_connections':
- source => 'tor/munin/tor_connections';
+ 'tor_openfds':
+ config => 'user root',
+ source => 'tor/munin/tor_openfds';
'tor_routers':
source => 'tor/munin/tor_routers';
'tor_traffic':