<div dir="ltr">Hello,<div>I&#39;m configuring ipa server on CentOS 6.5 and I notice that when the ipa-server-install command configures ntp.conf it puts inside &quot;rhel&quot; for pool of ntp servers instead of &quot;centos&quot;.</div>
<div><br></div><div><div>### Added by IPA Installer ###</div><div>server <a href="http://0.rhel.pool.ntp.org">0.rhel.pool.ntp.org</a></div><div>server <a href="http://1.rhel.pool.ntp.org">1.rhel.pool.ntp.org</a></div><div>
server <a href="http://2.rhel.pool.ntp.org">2.rhel.pool.ntp.org</a></div></div><div><br></div><div><br></div><div>The rpm involved is ipa-server-3.0.0-37.el6.x86_64</div><div>and the file involved is </div><div>/usr/lib/python2.6/site-packages/ipaserver/install/ntpinstance.py<br>
</div><div><br></div><div>where there is this if conditional statement</div><div><br></div><div><div>        # We use the OS variable to point it towards either the rhel</div><div>        # or fedora pools. Other distros should be added in the future</div>
<div>        # or we can get our own pool.</div><div>        os = &quot;&quot;</div><div>        if ipautil.file_exists(&quot;/etc/fedora-release&quot;):</div><div>            os = &quot;fedora&quot;</div><div>        elif ipautil.file_exists(&quot;/etc/redhat-release&quot;):</div>
<div>            os = &quot;rhel&quot;</div></div><div><br></div><div>So I think this should be changed in something like</div><div><br></div><div><div>        os = &quot;&quot;</div><div>        if ipautil.file_exists(&quot;/etc/fedora-release&quot;):</div>
<div>            os = &quot;fedora&quot;</div><div>        elif ipautil.file_exists(&quot;/etc/centos-release&quot;):</div><div>            os = &quot;centos&quot;</div></div><div><br></div><div>What do you think?</div><div>
Possibly valid for rhel 7 too, but not already tested.</div><div><br></div><div>Gianluca</div><div><br></div></div>