Start using tools/config instead of tools/conf

oslo only supports tools/config so lets use it.

Change-Id: I1d72d158bb6aa52697d04a5b3c632f7e8b661c2e
This commit is contained in:
Angus Salkeld 2013-10-10 16:18:04 +11:00
parent 8b277c92be
commit 859efe8e04
2 changed files with 6 additions and 5 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh
TMPFILE=`mktemp`
trap "rm -f ${TMPFILE}" EXIT
tools/conf/generate_sample.sh "${TMPFILE}"
if ! diff "${TMPFILE}" etc/heat/heat.conf.sample
TEMPDIR=`mktemp -d`
CFGFILE=heat.conf.sample
tools/config/generate_sample.sh -b ./ -p heat -o $TEMPDIR
if ! diff $TEMPDIR/$CFGFILE etc/heat/$CFGFILE
then
echo "E: heat.conf.sample is not up to date, please run tools/conf/generate_sample.sh"
echo "E: heat.conf.sample is not up to date, please run tools/config/generate_sample.sh"
exit 42
fi

View File

@ -0,0 +1 @@
export OSLO_CONFIG_GENERATOR_EXTRA_MODULES=