Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-2555

Create OS hierarchy and mechanism for loading it

    XMLWordPrintable

Details

    • Enhancement
    • Hide
      We have created a hierarchy of operating systems e.g.

       {
          "Linux": [
            {
              "Debian": [
                "Elementary",
                "Ubuntu"
              ]
            },
      ...

      The hierarchy allows us to load facts from the child and all its parents. If the same fact is present in a child and a parent, the one from the child takes precedence.
      Show
      We have created a hierarchy of operating systems e.g.  {     "Linux": [       {         "Debian": [           "Elementary",           "Ubuntu"         ]       }, ... The hierarchy allows us to load facts from the child and all its parents. If the same fact is present in a child and a parent, the one from the child takes precedence.
    • Needs Assessment

    Description

      The hierarchy should look similar to 

      [
        {
          "Linux": [
            {
              "Debian": [
                "Elementary",
                "Ubuntu"
              ]
            },
            {
              "El": [
                "Fedora",
                "Amzn",
                "Centos"
              ]
            },
            {
              "Opensuse": [
                "Sles"
              ]
            }
          ]
        },
        {
          "Solaris": [
            "Bsd"
          ]
        },
        "Macosx"
      ]
      

      The starting point should be the POC from FACT-2539.

      Attachments

        Issue Links

          Activity

            People

              bogdan.irimie Bogdan Irimie
              bogdan.irimie Bogdan Irimie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support