Running tools/config/generate_sample.sh doesn't produce a sample conf for me, no matter how I execute it (with or without tox, with a fresh tox env, etc).
(os)keystone $ rm etc/keystone.conf.sample
(os)keystone $ tox -esample_config
sample_config develop-inst-nodeps: /Users/dolph/Projects/keystone
sample_config runtests: commands[0] | /Users/dolph/Projects/keystone/tools/config/generate_sample.sh
___________________________________________________________________________________________ summary ___________________________________________________________________________________________
sample_config: commands succeeded
congratulations :)
(os)keystone $ ls -l etc/
total 144
-rw-r--r-- 1 dolph staff 1540 Apr 21 07:14 default_catalog.templates
drwxr-xr-x 4 dolph staff 136 May 29 10:17 keystone
-rw-r--r-- 1 dolph staff 3635 Apr 21 07:14 keystone-paste.ini
-rw-r--r-- 1 dolph staff 38278 Apr 29 10:21 keystone.conf
-rw-r--r-- 1 dolph staff 1046 Apr 21 07:14 logging.conf.sample
-rw-r--r-- 1 dolph staff 6397 Apr 21 07:14 policy.json
-rw-r--r-- 1 dolph staff 9032 Apr 21 07:14 policy.v3cloudsample.json
(os)keystone $
Note the lack of any keystone.conf.sample!
This is on OS X 10.9.3 with:
$ bash --version
GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)
Copyright (C) 2007 Free Software Foundation, Inc.
We don't really support using this tool on OS X. It should be possible to make it work, but as that's not a platform we use for OpenStack development it hasn't been a priority.