blob: 6c3e7dd95e00e94a9ee0508806e505538ac1ba1e [file] [log] [blame]
Srikanth Vavilapalli31713602017-03-03 00:50:18 +00001#!/bin/sh
2
3#Insert specified kafka url AFTER the match text
4if [ ! -z "$KAFKA_PUBLISHER_URL" ]; then
5 sed -i "/publishers:/a \ \ \ \ \ \ \ \ \ \ - $KAFKA_PUBLISHER_URL" /etc/ceilometer/pipeline.yaml
6fi