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)

Reply via email to