Compare catalog

asked 2016-09-08 01:21:51 -0600

updated 2016-09-08 01:28:30 -0600

How can I compare the catalog rendered by one puppetmaster with one rendered by another puppetmaster (puppetserver)? I wanna ensure both deliver the same catalog.

[The source code is not the same. (Pp language 3.8 → 4.x; usage of modern facts; code additions to serve both the old and new system)]

edit retag flag offensive close merge delete

Comments

There are some tools that allow you to build the catalog on a 3.8 master with both future parser and without. It's not exactly what you are asking, but it is used for migrating. Manual process would be to run against each puppet master with the same node and diff the catalogs (cached on client)

DarylW gravatar imageDarylW ( 2016-09-08 08:03:15 -0600 )edit
1

https://forge.puppet.com/zack/catalog_diff - https://forge.puppet.com/puppetlabs/catalog_preview/readme

DarylW gravatar imageDarylW ( 2016-09-08 08:04:40 -0600 )edit