Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-717

Variable sys.hardware_addresses is not getting populated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.3
    • Component/s: Evaluation
    • Labels:
      None

      Description

      The fine manual reads:

      12.5.28 Variable sys.hardware_addresses

      History: Was introduced in 3.3.0, Nova 2.2.0 (2011)

      This is a list variable containing a list of all known MAC addresses for system interfaces.

      This does not work under 3.5.0b2:

      root@tashkent:/home/atsaloli/git/documentation/examples# cat temp.cf
      <pre>
      bundle agent example

      { reports: "$(sys.hardware_addresses)"; }

      </pre>

      root@tashkent:/home/atsaloli/git/documentation/examples# cf-agent -f ./temp.cf -b example
      2013-06-08T16:51:49-0700 notice: R: $(sys.hardware_addresses)
      root@tashkent:/home/atsaloli/git/documentation/examples#

        Attachments

          Activity

            People

            • Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              atsaloli Aleksey Tsalolikhin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel