You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Nate Cole (JIRA)" <ji...@apache.org> on 2014/05/05 23:59:15 UTC

[jira] [Created] (AMBARI-5671) Externalize OS family relationship

Nate Cole created AMBARI-5671:
---------------------------------

             Summary: Externalize OS family relationship
                 Key: AMBARI-5671
                 URL: https://issues.apache.org/jira/browse/AMBARI-5671
             Project: Ambari
          Issue Type: Task
          Components: controller
            Reporter: Nate Cole
            Assignee: Nate Cole
             Fix For: 1.6.1


Currently OS Family is checked in two places - one is in java code ({{OsFamily}}) the other is in {{os_check.py}}.  Create a single file that can be read by both that defines the mappings.  Something like:
{noformat}
{
  "redhat6": [
    "centos6", "redhat6", "oraclelinux6"
  ], ...
}
{noformat}

This relationship should be used by Ambari.  The agent should always report the correct OS instead of trying to determine family on its own.




--
This message was sent by Atlassian JIRA
(v6.2#6252)