-
Notifications
You must be signed in to change notification settings - Fork 478
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
New component: discovery.puppetdb #4551
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor non-blocking suggestions
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs LGTM
|
||
```river | ||
discovery.puppetdb "example" { | ||
url = "http://puppetdb.local:8080" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@captncraig could you apply riverfmt
to this snippet?
@@ -0,0 +1,49 @@ | |||
package puppetdb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we add tests for validate functions?
Co-authored-by: Marc Tudurí <marctc@protonmail.com>
* discovery.puppetdb * docs * fix example * fix comment * Update docs/sources/flow/reference/components/discovery.puppetdb.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> * Update docs/sources/flow/reference/components/discovery.puppetdb.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> * add test for validate * Update docs/sources/flow/reference/components/discovery.puppetdb.md Co-authored-by: Marc Tudurí <marctc@protonmail.com> * lint --------- Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> Co-authored-by: Marc Tudurí <marctc@protonmail.com>
* discovery.puppetdb * docs * fix example * fix comment * Update docs/sources/flow/reference/components/discovery.puppetdb.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> * Update docs/sources/flow/reference/components/discovery.puppetdb.md Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> * add test for validate * Update docs/sources/flow/reference/components/discovery.puppetdb.md Co-authored-by: Marc Tudurí <marctc@protonmail.com> * lint --------- Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> Co-authored-by: Marc Tudurí <marctc@protonmail.com>
Fixes #2279