Skip to content

Conversation

@isaiahfrantz
Copy link

PR summary

  • Added --fact-dir CLI option to load per-node YAML/JSON facts and enforce mutual exclusivity with PuppetDB and --fact-file.
  • Extended fact loading to prefer fact-dir, fall back to puppet fact dir, then PuppetDB, with overrides applied after.
  • Added fixtures/tests for fact-dir behavior and updated docs/CHANGELOG.

Tests

  • bundle exec rspec spec/octocatalog-diff/tests/cli/options/fact_dir_spec.rb spec/octocatalog-diff/tests/catalog-util/facts_spec.rb

Isaiah Frantz added 2 commits January 27, 2026 12:02
@isaiahfrantz
Copy link
Author

@ngrundy can you take a look?

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.

1 participant