Srikanth Vavilapalli | 3171360 | 2017-03-03 00:50:18 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | #Insert specified kafka url AFTER the match text | ||||
4 | if [ ! -z "$KAFKA_PUBLISHER_URL" ]; then | ||||
5 | sed -i "/publishers:/a \ \ \ \ \ \ \ \ \ \ - $KAFKA_PUBLISHER_URL" /etc/ceilometer/pipeline.yaml | ||||
6 | fi |