diff options
author | mh <mh@immerda.ch> | 2012-10-21 14:53:17 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-10-21 14:53:17 +0200 |
commit | e293b5be988133c04c2611ca6f5b1ab974c8d8f1 (patch) | |
tree | 97506f47b77d4d0710dbb30161646772cc1a5027 | |
parent | 933b976b57eb025c8126e01a50cb25feb0be7157 (diff) | |
download | puppet-lighttpd-e293b5be988133c04c2611ca6f5b1ab974c8d8f1.tar.gz puppet-lighttpd-e293b5be988133c04c2611ca6f5b1ab974c8d8f1.tar.bz2 |
make status also ipv6 capable
-rw-r--r-- | manifests/munin.pp | 2 |
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" } |