Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
This repository was archived by the owner on May 5, 2025. It is now read-only.

Way to have query_facts return facts as hash #94

@matthope

Description

@matthope

It would be useful if there was a way to have data returned from query_facts such as (reusing the same example):

{
  "foo.example.com": {
    "facts" => {
      "ipaddress": "192.168.0.2",
      "osfamily": "Redhat"
    }
  },
  "bar.example.com": {
    "facts" => { 
      "ipaddress": "192.168.0.3",
      "osfamily": "Debian"
    }
  }
}

This would make it easier to combine this with (for example) ensure_resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions