echocat/puppet-graphite — pull request #114 by spil-brensen (2014-11-21 08:01:59+00:00)
Title: make it less awk version dependant

On our centos 6 install, the awk line fails:

awk: warning: escape sequence `\[' treated as plain `['
awk: (FILENAME=/opt/graphite/conf/carbon.conf FNR=251) fatal: Unmatched [ or [^: /[relay:?/

I think this is a more compatible way of doing it.