blob: 6c3e7dd95e00e94a9ee0508806e505538ac1ba1e [file] [log] [blame]
#!/bin/sh
#Insert specified kafka url AFTER the match text
if [ ! -z "$KAFKA_PUBLISHER_URL" ]; then
sed -i "/publishers:/a \ \ \ \ \ \ \ \ \ \ - $KAFKA_PUBLISHER_URL" /etc/ceilometer/pipeline.yaml
fi