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

Add Puppetserver catalog v4 API support #228

Merged
merged 10 commits into from
Dec 18, 2020

Conversation

seanmil
Copy link
Contributor

@seanmil seanmil commented Nov 19, 2020

Overview

This pull request introduces support for the Puppetserver v4 catalog API, introduced in Puppetserver 6.3.0.

This new API endpoint offers additional capabilities and options not present in earlier API versions. In particular, updating facts and catalogs with PuppetDB as part of the compile is now optional. For Puppet Enterprise customers, you may use PE RBAC tokens to authenticate for v4 catalog compiles.

Checklist

  • Make sure that all of the tests pass, and fix any that don't. Just run rake in your checkout directory, or review the CI job triggered whenever you push to a pull request.
  • Make sure that there is 100% test coverage by running rake coverage:spec or ignoring untestable sections of code with # :nocov comments. If you need help getting to 100% coverage please ask; however, don't just submit code with no tests.
  • If you have added a new command line option, we would greatly appreciate a corresponding integration test that exercises it from start to finish. This is optional but recommended.
  • If you have added any new gem dependencies, make sure those gems are licensed under the MIT or Apache 2.0 license. We cannot add any dependencies on gems licensed under GPL.
  • If you have added any new gem dependencies, make sure you've checked in a copy of the .gem file into the vendor/cache directory.

@seanmil
Copy link
Contributor Author

seanmil commented Dec 11, 2020

I re-ran the CI job and it passed. I don't know why the results are not updating above, but you can see the results here: https://github.com/seanmil/octocatalog-diff/actions/runs/372918628

Copy link
Contributor

@ahayworth ahayworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for this - its a lot of work, and I appreciate you bringing octocatalog-diff into the modern era!

I had a few questions, mainly because I'm just not as familiar with modern puppet.

doc/advanced-puppet-master.md Outdated Show resolved Hide resolved
doc/advanced-puppet-master.md Outdated Show resolved Hide resolved
doc/advanced-puppet-master.md Outdated Show resolved Hide resolved
doc/advanced-puppet-master.md Outdated Show resolved Hide resolved
@ahayworth ahayworth added this to the 2.0.0 milestone Dec 17, 2020
seanmil and others added 4 commits December 18, 2020 07:53
Co-authored-by: Andrew Hayworth <ahayworth@github.com>
…le_spec.rb

Co-authored-by: Andrew Hayworth <ahayworth@github.com>
Update docs per feedback provided by Andrew Hayworth in the
PR.
@ahayworth
Copy link
Contributor

This is excellent - thank you so much for the contributions 😄

@ahayworth ahayworth merged commit 5483382 into github:master Dec 18, 2020
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

Successfully merging this pull request may close these issues.

2 participants