Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to have query_facts return facts as hash #94

Open
matthope opened this issue Aug 7, 2016 · 0 comments
Open

Way to have query_facts return facts as hash #94

matthope opened this issue Aug 7, 2016 · 0 comments

Comments

@matthope
Copy link

matthope commented Aug 7, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant