<div dir="ltr">John,<div><br></div><div>+1.</div><div><br></div><div>The sample file in etc/ironic/ in our repo is actually (almost) always out of sync with the one in the docs - the docs one is re-generated on each commit with new/changed stuff from third-party libs, the version in etc/ironic is only updated manually when someone remembers it (as people usually tend to limit the changes to this file in their commit to relevant ones).</div><div><br></div><div>Cheers,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 22, 2018 at 2:45 PM, John Garbutt <span dir="ltr"><<a href="mailto:john@johngarbutt.com" target="_blank">john@johngarbutt.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>While I was looking at the traits work, I noticed we still have policy and config in tree for ironic and ironic inspector:</div><div><br></div><div><a href="http://git.openstack.org/cgit/openstack/ironic/tree/etc/ironic/policy.json.sample" target="_blank">http://git.openstack.org/cgit/<wbr>openstack/ironic/tree/etc/<wbr>ironic/policy.json.sample</a><br></div><div><a href="http://git.openstack.org/cgit/openstack/ironic/tree/etc/ironic/ironic.conf.sample" target="_blank">http://git.openstack.org/cgit/<wbr>openstack/ironic/tree/etc/<wbr>ironic/ironic.conf.sample</a><br></div><div><a href="http://git.openstack.org/cgit/openstack/ironic/tree/etc/ironic/policy.json" target="_blank">http://git.openstack.org/cgit/<wbr>openstack/ironic/tree/etc/<wbr>ironic/policy.json</a><br></div><div><br></div><div>And in a similar way:</div><div><a href="http://git.openstack.org/cgit/openstack/ironic-inspector/tree/policy.yaml.sample" target="_blank">http://git.openstack.org/cgit/<wbr>openstack/ironic-inspector/<wbr>tree/policy.yaml.sample</a><br></div><div><a href="http://git.openstack.org/cgit/openstack/ironic-inspector/tree/example.conf" target="_blank">http://git.openstack.org/cgit/<wbr>openstack/ironic-inspector/<wbr>tree/example.conf</a><br></div><div><br></div><div>There is an argument that says we shouldn't force operators to build a full environment to generate these, but this has been somewhat superseded by us having good docs:</div><div><br></div><div><a href="https://docs.openstack.org/ironic/latest/configuration/sample-config.html" target="_blank">https://docs.openstack.org/<wbr>ironic/latest/configuration/<wbr>sample-config.html</a><br></div><div><a href="https://docs.openstack.org/ironic/latest/configuration/sample-policy.html" target="_blank">https://docs.openstack.org/<wbr>ironic/latest/configuration/<wbr>sample-policy.html</a><br></div><div><a href="https://docs.openstack.org/ironic-inspector/latest/configuration/sample-config.html" target="_blank">https://docs.openstack.org/<wbr>ironic-inspector/latest/<wbr>configuration/sample-config.<wbr>html</a><br></div><div><a href="https://docs.openstack.org/ironic-inspector/latest/configuration/sample-policy.html" target="_blank">https://docs.openstack.org/<wbr>ironic-inspector/latest/<wbr>configuration/sample-policy.<wbr>html</a><br></div><div><br></div><div>It could look something like this (but with the tests working...):</div><div><a href="https://review.openstack.org/#/c/536349" target="_blank">https://review.openstack.org/#<wbr>/c/536349</a><br></div><div><br></div><div>What do you all think?</div><div><br></div><div>Thanks,</div><div>johnthetubaguy</div></div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Dr. Pavlo Shchelokovskyy<div>Senior Software Engineer</div><div>Mirantis Inc</div><div><a href="http://www.mirantis.com" target="_blank">www.mirantis.com</a></div></div></div></div></div>
</div>