summaryrefslogtreecommitdiff
path: root/manifests/munin.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-02 14:14:28 +0100
committermh <mh@immerda.ch>2013-01-02 14:14:28 +0100
commite0cf3dc7de751df2b51e4a00cf397537da147e32 (patch)
treef087f27c2a16d72d053dad97e5c41cfec135176e /manifests/munin.pp
parente5a89865b70d694ebf978ed9743476b511974d92 (diff)
manage a dedicated control port for munin
Diffstat (limited to 'manifests/munin.pp')
-rw-r--r--manifests/munin.pp9
1 files changed, 8 insertions, 1 deletions
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':