]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add external genconfig calls
authorJohn Griffith <john.griffith8@gmail.com>
Thu, 23 Apr 2015 18:07:12 +0000 (12:07 -0600)
committerJohn Griffith <john.griffith8@gmail.com>
Thu, 23 Apr 2015 19:59:22 +0000 (13:59 -0600)
After moving to oslo.config we still were using
incubator config generator.  This was ok, but the
problem is we haven't been pulling config options
from the oslo libs.

This is a hack that just appends external lib calls
and appends those options to the sample file being built.

Change-Id: I2634b20ef4abd3bf7990f845d59ad3d208db234f
Closes-Bug: #1447380

tools/config/generate_sample.sh

index 0416d2aee6e595aa39afd9b8942503da1aefae69..26984a8ac82a46f54623b8600ca9e0ed60035b64 100755 (executable)
@@ -136,3 +136,9 @@ CONCAT_FILES=$(ls $BASEDIR/tools/config/*.conf.sample 2>/dev/null)
 for CONCAT_FILE in $CONCAT_FILES; do
     cat $CONCAT_FILE >> $OUTPUTFILE
 done
+
+# Now we need to get externals
+oslo-config-generator \
+--namespace oslo_concurrency --namespace oslo_db \
+--namespace oslo_messaging --namespace policy \
+--namespace keystonemiddleware.auth_token  >> $OUTPUTFILE