Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.1
-
None
Description
OS constants are defined in several places like HostInfo.py in agent, utils.py in server. Definition of constants should be moved to os_check.py to avoid possibly difference between constants in HostInfo.py and utils.py.
HostInfo.py
OS_UBUNTU_DEBIAN = 'debian'
OS_UBUNTU = 'ubuntu'
OS_FEDORA = 'fedora'
OS_OPENSUSE = 'opensuse'
OS_SUSE = 'suse'
OS_SUSE_ENTERPRISE = 'sles'
utils.py
OS_UBUNTU = 'ubuntu'
OS_FEDORA = 'fedora'
OS_OPENSUSE = 'opensuse'
OS_SUSE = 'suse'
OS_SUSE_ENTERPRISE = 'sles'
Attachments
Issue Links
- links to