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

Add wwn and sn to disk fact

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • FACT 4.2.6
    • Community, Facter 4
    • None
    • Night's Watch
    • 1
    • NW - 2021-11-17
    • Enhancement
    • Add disks serial number and WWID to the disks fact
    • Needs Assessment

    Description

      What is changing?

      This PR adds WWN and SN to the disks fact.

      Because there is currently no reliable way to get the wwn and sn via file output, I fall back to the usage of lsblk.

      I manually tested this on centos7/8 and ubuntu 18/20.04

      I would like if people can help me to write a test for it.

       

      https://github.com/puppetlabs/facter/pull/2461

       

      Edit: Updated the pull request URL

      Attachments

        Activity

          People

            gabriel.nagy Gabriel Nagy
            KervyN Boris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support