a76480d454
- unwrap the {"catalog": ...} envelope, still accepting a bare catalog
- report an environment-less response as a protocol mismatch, not an ENC problem
- make Resource.Line a pointer and Resource.Params() map absent onto empty
- render a missing manifest location as "(source unknown)"
- retry compile failures caused by the compiler's PuppetDB query
- stop retrying manifest errors the compiler returns as HTTP 500
- add a trimmed real-server response fixture and tests for each shape
20 lines
764 B
Plaintext
20 lines
764 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 (source unknown)
|
|
~ File[/etc/motd] content: old -> new (site.pp:19)
|
|
~ Package[vim] provider: <absent> -> dnf (source unknown)
|
|
|
|
OTHER
|
|
--------------------------------------------------
|
|
~ Mysql::Db[app] password: redacted:sha256:f52fbd32b2b3b86f -> redacted:sha256:fb8c2e2b85ca81eb (source unknown)
|
|
+ Notify[added] added (new.pp:3)
|
|
- Notify[gone] removed (old.pp:1)
|