You are browsing a read-only backup copy of Wikitech. The live site can be found at

Nova Resource:Puppet3-diffs/Documentation

From Wikitech-static
< Nova Resource:Puppet3-diffs
Revision as of 09:42, 23 May 2017 by imported>Volans (Updated procedure to update facts)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Nova Resource:Puppet3-diffs/Documentation


Puppet-compiler simulates puppet changes and determine the effective difference before/after a given change to puppet files.

This project contains execution hosts for the Jenkins job operations-puppet-catalog-compiler. It computes the effective difference before/after a proposed puppet change for a given set of nodes. Also known as puppet compiler.

Build output is accessible via web service

For documentation on the service, see Puppet Testing.


  1. How to update the compiler's facts? (e.g. INFO: Unable to find facts for host conf2001.codfw.wmnet, skipping)
You'll need access to all the puppet master workers puppetmaster::servers in hieradata and the compiler host (compiler02.puppet3-diffs.eqiad.wmflabs) and launch this script from your local checkout of the puppet repository:
It will cycle through all the puppet master workers and sync the facts from all of them. Only the most recent fact for each host will be kept on the compiler host.