areguera / rpms / ipa

Forked from rpms/ipa 5 years ago
Clone
ba521e
diff -uNrp freeipa-3.3.3.orig/ipaserver/install/ntpinstance.py freeipa-3.3.3/ipaserver/install/ntpinstance.py
ba521e
--- freeipa-3.3.3.orig/ipaserver/install/ntpinstance.py	2013-11-01 10:34:30.000000000 -0500
ba521e
+++ freeipa-3.3.3/ipaserver/install/ntpinstance.py	2014-06-26 07:27:19.644718099 -0500
ba521e
@@ -43,6 +43,8 @@ class NTPInstance(service.Service):
ba521e
         os = ""
ba521e
         if ipautil.file_exists("/etc/fedora-release"):
ba521e
             os = "fedora"
ba521e
+        elif ipautil.file_exists("/etc/centos-release"):
ba521e
+            os = "centos"
ba521e
         elif ipautil.file_exists("/etc/redhat-release"):
ba521e
             os = "rhel"
ba521e