From e0cf3dc7de751df2b51e4a00cf397537da147e32 Mon Sep 17 00:00:00 2001 From: mh Date: Wed, 2 Jan 2013 14:14:28 +0100 Subject: manage a dedicated control port for munin --- manifests/munin.pp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'manifests/munin.pp') diff --git a/manifests/munin.pp b/manifests/munin.pp index e1b369a..4412337 100644 --- a/manifests/munin.pp +++ b/manifests/munin.pp @@ -1,7 +1,14 @@ # munin plugins for puppet class tor::munin { + tor::daemon::control{ + 'control_port_for_munin': + port => 19051, + cookie_authentication => 1, + cookie_auth_file => '/var/run/tor/control.authcookie', + } + Munin::Plugin::Deploy { - config => "user debian-tor\n env.cookiefile /var/run/tor/control.authcookie" + config => "user debian-tor\n env.cookiefile /var/run/tor/control.authcookie\n env.port 19051" } munin::plugin::deploy { 'tor_connections': -- cgit v1.2.3