]> gitweb.fluxo.info Git - puppet-lighttpd.git/commitdiff
make status also ipv6 capable
authormh <mh@immerda.ch>
Sun, 21 Oct 2012 12:53:17 +0000 (14:53 +0200)
committermh <mh@immerda.ch>
Sun, 21 Oct 2012 12:53:17 +0000 (14:53 +0200)
manifests/munin.pp

index 65f1e204b10f6f424cf05a5414dfb992806fbe0d..207384491604a4b1302368643e662500fbb1f7a7 100644 (file)
@@ -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"
 }