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

AIX hardwaremodel (os -> hardware) fact is non-standard

    XMLWordPrintable

Details

    • Bug
    • Status: Accepted
    • Normal
    • Resolution: Unresolved
    • FACT 3.9.4
    • None
    • None
    • AIX 7.1 TL4 (powerpc) - PE 2017.3.4 (facter 3.9.4)

    • Hide

      The fact should be fixed to be more inline / compatible with other operating systems.

      Show
      The fact should be fixed to be more inline / compatible with other operating systems.
    • Platform OS
    • Customer Feedback
    • Needs Assessment

    Description

      Was setting up rspec testing on a module after porting it to AIX and the facts are not being found. Part of the problem is that the default "hardwaremodel" filter is `x86_64`. It does have other OS cases for Solaris (i86pc) and BSD (amd64) for example. While we could add a case for AIX https://github.com/mcanevet/rspec-puppet-facts/issues/69 . The problem is, as I started looking, it looks like the "hardwaremodel" is populated with the actual product name model of the machine (such as "IBM,8284-22A"), while other OS's seem to use something like the processor architecture (x86_64). I think that hardware information belongs in a different fact, like maybe productname (based on what I am seeing on OSX) and the hardwaremodel fact should be "powerpc"

      Attachments

        Activity

          People

            Unassigned Unassigned
            tommy.mcneely Tommy McNeely
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Zendesk Support