Hi folks,
recently in our Puppet pipeline we added a few tests on catalogs
leveraging Ripienaar's puppet-catalog-diff [1]. Basically, before
merging to production, for each node we compare the catalogs between
production and the committed developing version, to spot any (maybe
unwanted) change before the agent run. Also, we run catalog diffs for
a single node locally in a Docker container to help refactoring-like
tasks, and to test with different versions of puppet too (still at
v2.7, will upgrade to 3 hopefully very soon).
This has been working quite well for us so far, but of course will be
nice to reduce the amount of time needed to run those tests. I know
very little about the puppet master process, but my understanding is
that every time we create the catalog, i.e. running
puppet master --compile myhost
this will also create a SSL cert for myhost. Is there a way to disable
this behavior? Any other suggestions about how to make this catalog
creation process as lightweight as possible?
--
https://www.vizify.com/alexander-fortin