diff options
author | Ghe Rivero <ghe.rivero@hp.com> | 2015-03-19 18:39:54 +0100 |
---|---|---|
committer | Ghe Rivero <ghe.rivero@gmail.com> | 2015-05-04 20:38:13 +0000 |
commit | 338c1f2d017ef449211dac9ec6937aee401f71e9 (patch) | |
tree | 2c7e3762c73b244ad18e466d29a02dd4fd907a88 /tools | |
parent | 451bf7bb0dddf949000698993f784d4b5442f3da (diff) | |
download | ironic-338c1f2d017ef449211dac9ec6937aee401f71e9.tar.gz |
Adopt config generator
oslo.config.generator has been removed from olso-incubator so
we need to adopt it in order to generated up-to-date config
files.
Changes introduced:
- Move config/generator.py from openstack.common to ironic.common
- Update config generator to use new style list_opts discovery
- Split _print_opt function to reduce complexity and pass pep8 tests
Change-Id: I397504bf0604a86082f26e46952720117611f3a8
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/config/generate_sample.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/config/generate_sample.sh b/tools/config/generate_sample.sh index 99b46aa66..5fc53dc77 100755 --- a/tools/config/generate_sample.sh +++ b/tools/config/generate_sample.sh @@ -121,7 +121,7 @@ export EVENTLET_NO_GREENDNS=yes OS_VARS=$(set | sed -n '/^OS_/s/=[^=]*$//gp' | xargs) [ "$OS_VARS" ] && eval "unset \$OS_VARS" -DEFAULT_MODULEPATH=ironic.openstack.common.config.generator +DEFAULT_MODULEPATH=ironic.common.config_generator.generator MODULEPATH=${MODULEPATH:-$DEFAULT_MODULEPATH} OUTPUTFILE=$OUTPUTDIR/$PACKAGENAME.conf.sample python -m $MODULEPATH $MODULES $LIBRARIES $FILES > $OUTPUTFILE |