Common Puppet Commands

How to check / validate the file syntax before you commit in Puppet ?

To verify syntax error in a file use the command below.

# puppet parser validate configurationfile.pp

Leave a Reply

Your email address will not be published. Required fields are marked *