Red Hat Enterprise Linux Server release 6.5 (Santiago)
cobbler-2.4.4-1.el6.noarch

[root ~]# cobbler check
The following are potential configuration items that you may want to fix:

1 : Unknown distribution type, cannot check for running service cobblerd
2 : change 'disable' to 'no' in /etc/xinetd.d/rsync
3 : Apache (httpd) is not installed and/or in path
4 : since iptables may be running, ensure 69, 80/443, and 25151 are unblocked
5 : debmirror package is not installed, it will be required to manage debian 
deployments and repositories

[root ~]# python
Python 2.6.6 (r266:84292, Nov 21 2013, 10:50:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import platform
platform.linux_distribution()[0].lower().strip()
'red hat enterprise linux server'


I tried the same python commands on a RHEL 5 server and got:
Python 2.4.3 (#1, Oct 23 2012, 22:02:41)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import platform
platform.linux_distribution()[0].lower().strip()
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'linux_distribution'



“Sometimes I think the surest sign that intelligent life exists elsewhere in the 
universe is that none of it has tried to contact us.”  (Bill Waterson: Calvin & 
Hobbes)
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler
  • Re: [co... Harry Hoffman
    • Re... Michael Tiernan
    • Re... Jörgen Maas
      • ... Jörgen Maas
        • ... Jörgen Maas
          • ... Jörgen Maas
      • ... Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC]
    • Re... Dan White

Reply via email to