summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/munin.pp2
1 files changed, 1 insertions, 1 deletions
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"
}