On 06/25/2013 06:03 AM, Zhongyue Luo wrote:
Hi team

I'm currently trying to move the generate_sample.sh script in nova to oslo.

Before pushing the patch to gerrit, I wanted to give the output directory a default value if it was not stated so I was wondering where projects put their sample config file at and did this:

find . -name "*.conf*" ! -path "*.tox*" ! -path "*.venv*" | grep etc

results:
./ceilometer/etc/ceilometer/ceilometer.conf.sample
./cinder/etc/cinder/cinder.conf.sample
./nova/etc/nova/nova.conf.sample
./swift/etc/swift.conf-sample
./tempest/etc/tempest.conf.sample
./glance/etc/glance-cache.conf
./quantum/etc/quantum.conf

At the moment Neutron (it is getting hard to get used to) does not have sample configuration file(s). The convention that we use is to try and have the default value of the variable in the configuration file commented out so that the user can update if they choose.

In addition to this there are a number of different configuration files, for example - dhcp-agent.ini, l3-agent.ini etc. It may be a bit tricky generating sample configuration files for all of these.

Thanks
Gary

./keystone/etc/keystone.conf.sample

You can see that ceilometer, cinder, and nova put their sample config files on ./etc/$PROJECTNAME while the others put it on ./etc

So would this inconsistency be a problem?

IMO, ./etc/$PROJECTNAME makes sense to me if consistency is an issue.

Thoughts?

--
*Intel SSG/STOD/DCST/CIT*
880 Zixing Road, Zizhu Science Park, Minhang District, 200241, Shanghai, China
+862161166500


_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to