Testing Puppet Code
This tool will validate the Puppet DSL syntax. It won't actually compile a catalog or enforce any configuration state. This means that this only validates syntax. There are many ways in which a Puppet manifest may have valid syntax but be completely incorrect for your purposes and not do what you intend.
Some examples of flaws that will not be identified by this tool include:
- Resource declarations with the incorrect name.
- Including classes that do not exist.
- Packages declarations with an incorrect package name.
- File paths which do not exist on the agent.
execresources which fail to run properly.
Many other resources exist which can help make sure your code actually works as intended. Some examples are:
Testing ResourcesLearn more
This tool will compile a catalog, using only the information you provide. This means that all facts will be empty, and custom resource types will cause compilation failures.Learn more