I recommend using a puppet language . It comes with a command line tool ( puppetresources ) that can calculate directories on your computer and let you examine them. It has several useful features that cannot be found in Puppet:
- It is very fast (6 times faster in one directory, in many directories about 50 times).
- It keeps track of where each resource has been defined, and what the “class stack” is at this point, which is very convenient when you have duplicate resources.
- It automatically checks that the files you link to are
- It is more strict than Puppet (for example, it splits undefined variables)
- It allows you to print to the standard output the contents of any file, which is useful for developing complex templates
The only caveat is that it only works with “modern” puppet practices. For example, require not executed. It also works only with Linux.
bartavelle
source share