Uploaded image for project: 'Razor (moved to puppet.atlassian.net)'
  1. Razor (moved to puppet.atlassian.net)
  2. RAZOR-781

Allow matcher to reference "hw_info"

    XMLWordPrintable

Details

    • Story
    • Status: Ready for Engineering
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • Hide

      Given a node's properties in `razor nodes node# hw_info`, allow a tag to match this node via a tag like `["in", ["hw_info", "mac"], "08-00-27-8a-b7-ad"]`.

      Show
      Given a node's properties in `razor nodes node# hw_info`, allow a tag to match this node via a tag like `["in", ["hw_info", "mac"] , "08-00-27-8a-b7-ad"]`.
    • 2

    Description

      Right now, the only queryable node attributes are facts ("fact" matcher) and metadata ("metadata" matcher). In some cases, the "hw_info" attribute might be desirable, so we should expose a "hw_info" matcher.

      In Scope

      • Add a matcher "hw_info" which works like the "fact" matcher function except use values in razor nodes node# hw_info.
      • Document in FOSS this new matcher function.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scott.mcclellan Scott McClellan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support