53007a9257
Compile a host's catalog in a base and a test environment over the puppetserver API, then diff the two. - add catalog-diff CLI with cobra flags, config precedence and exit codes - add puppetserver mTLS client for POST /puppet/v4/catalog - add pdbmux fact client - add catalog normalisation, diff engine and text/JSON renderers - add Makefile, nfpm RPM packaging and woodpecker pipelines
20 lines
710 B
Plaintext
20 lines
710 B
Plaintext
Puppet Catalog Diff
|
|
==================================================
|
|
Host : host.example.net
|
|
Base environment : develop
|
|
Test environment : benvin_test
|
|
Compiled : benvin_test=ok develop=ok
|
|
Changes : 3 critical, 1 added, 1 removed, 4 changed
|
|
|
|
CRITICAL
|
|
--------------------------------------------------
|
|
! Exec[reload] environment.PATH: /bin -> /usr/bin
|
|
~ File[/etc/motd] content: old -> new (site.pp:19)
|
|
~ Package[vim] provider: <absent> -> dnf
|
|
|
|
OTHER
|
|
--------------------------------------------------
|
|
~ Mysql::Db[app] password: redacted:sha256:f52fbd32b2b3b86f -> redacted:sha256:fb8c2e2b85ca81eb
|
|
+ Notify[added] added (new.pp:3)
|
|
- Notify[gone] removed (old.pp:1)
|