github / octocatalog-diff

Compile Puppet catalogs from 2 branches, versions, etc., and compare them
https://rubygems.org/gems/octocatalog-diff/
MIT License
238 stars 85 forks source link

Add ability to set storeconfig_backends #312

Closed ngrundy closed 2 months ago

ngrundy commented 2 months ago

Overview

This pull request adds the ability to set the storeconfigs_backend option. This allows for the selection of alternate backends for storing catalog data.

The change allows the octocatalog-diff command to now accept the paramater --storeconfigs-backend [puppetdb|yaml|json] which sets the terminus for storeconfigs on the underlying puppet catalog compile command.

The default for storeconfigs_backend has been defaulted to puppetdb to maintain backwards compatibility.

Checklist

/cc [related issues] [teams and individuals, making sure to mention why you're CC-ing them]