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

Create psick::get and psick::set function #104

Open
alvagante opened this issue Dec 10, 2019 · 0 comments
Open

Create psick::get and psick::set function #104

alvagante opened this issue Dec 10, 2019 · 0 comments
Assignees
Milestone

Comments

@alvagante
Copy link
Member

Create a psick::set function which generates a psick::set resource whose params can be queried by a psick::get function using a puppetdb query like:

  $get_query = "[\"from\", \"resources\", [\"and\",[\"=\", \"type\", \"Psick::Get\"],[\"=\", \"title\", \".....\"]]]"
  $puppetdb_get_contents = puppetdb_query($get_query)
  $contents = pick ($puppetdb_get_contents, {})
@alvagante alvagante self-assigned this Dec 10, 2019
@alvagante alvagante added this to the Version 1.0 milestone Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant