923a7eeaa3
We added this check recently to Ceilometer, and it helps a lot to keep this file always up to date and not falling behind. Change-Id: I5ad2c6366032a39c2e55dd11a16b9f1780ab9ed0
10 lines
259 B
Bash
Executable File
10 lines
259 B
Bash
Executable File
#!/bin/sh
|
|
TMPFILE=`mktemp`
|
|
trap "rm -f ${TMPFILE}" EXIT
|
|
tools/conf/generate_sample.sh "${TMPFILE}"
|
|
if ! diff "${TMPFILE}" etc/nova/nova.conf.sample
|
|
then
|
|
echo "E: nova.conf.sample is not up to date, please run tools/conf/generate_sample.sh"
|
|
exit 42
|
|
fi
|