From: mh Date: Sun, 21 Oct 2012 12:53:17 +0000 (+0200) Subject: make status also ipv6 capable X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e293b5be988133c04c2611ca6f5b1ab974c8d8f1;p=puppet-lighttpd.git make status also ipv6 capable --- diff --git a/manifests/munin.pp b/manifests/munin.pp index 65f1e20..2073844 100644 --- a/manifests/munin.pp +++ b/manifests/munin.pp @@ -1,7 +1,7 @@ class lighttpd::munin { lighttpd::config::file{'status': content => 'server.modules += ( "mod_status" ) -$HTTP["remoteip"] == "127.0.0.1" { +$HTTP["remoteip"] =~ "^(::ffff:)?127.0.0.1$" { status.status-url = "/server-status" status.config-url = "/server-config" }