<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 06/25/2013 06:03 AM, Zhongyue Luo wrote:
    <blockquote
cite="mid:CAFf0h6eV32fuXptjs0JM4PV3RfPJ8dYphif=4sEDNY_O9WG=pQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style="">Hi team</div>
        <div><br>
        </div>
        <div style="">I'm currently trying to move the
          generate_sample.sh script in nova to oslo.</div>
        <div><br>
        </div>
        <div>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:<br>
        </div>
        <div style=""><br>
        </div>
        find . -name "*.conf*" ! -path "*.tox*" ! -path "*.venv*" | grep
        etc<br clear="all">
        <div><br>
        </div>
        <div style="">results:</div>
        <div style="">
          <div>./ceilometer/etc/ceilometer/ceilometer.conf.sample</div>
          <div>./cinder/etc/cinder/cinder.conf.sample</div>
          <div>./nova/etc/nova/nova.conf.sample<br>
          </div>
          <div>./swift/etc/swift.conf-sample<br>
          </div>
          <div>./tempest/etc/tempest.conf.sample</div>
          <div>./glance/etc/glance-cache.conf<br>
          </div>
          <div>./quantum/etc/quantum.conf<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    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.<br>
    <br>
    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.<br>
    <br>
    Thanks<br>
    Gary<br>
    <br>
    <blockquote
cite="mid:CAFf0h6eV32fuXptjs0JM4PV3RfPJ8dYphif=4sEDNY_O9WG=pQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style="">
          <div>./keystone/etc/keystone.conf.sample<br>
          </div>
          <div><br>
          </div>
          <div style="">You can see that ceilometer, cinder, and nova
            put their sample config files on ./etc/$PROJECTNAME while
            the others put it on ./etc</div>
          <div style=""><br>
          </div>
          <div style="">So would this inconsistency be a problem?</div>
          <div><br>
          </div>
          <div style="">IMO, ./etc/$PROJECTNAME makes sense to me if
            consistency is an issue.</div>
          <div style=""><br>
          </div>
          <div style="">Thoughts?</div>
          <div><br>
          </div>
        </div>
        -- <br>
        <div dir="ltr">
          <div><b>Intel SSG/STOD/DCST/CIT</b></div>
          <div>880 Zixing Road, Zizhu Science Park, Minhang District,
            200241, Shanghai, China<br>
          </div>
          <div>+862161166500</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>