1puppetManifest parser is a test bench parser for evaluating 2the quality and usefulness mtable regex metaparser. 3 4Input for test cases started from puppet- under this directory are 5taken from puppet-3.8.7/spec/fixtures/unit/parser/lexer/*.pp. 6 7## Test Input Verification 8 9### Requirements 10 11Install puppet-agent to your platform: 12[Linux](https://puppet.com/docs/puppet/5.3/install_linux.html), 13[Windows](https://puppet.com/docs/puppet/5.3/install_windows.html) or 14[macOS](https://puppet.com/docs/puppet/5.3/install_osx.html) 15 16### Execute Verification 17 18From the `<repo_root>/Units/parser-puppetManifest.r` directory execute the 19following: 20 21``` 22find . -name "*.pp" | xargs -n 1 -I@ bash -c " echo @ && /opt/puppetlabs/bin/puppet apply --noop @" 23``` 24 25In that command we find all puppet files in the unit test directory. Then we 26run `puppet apply --noop` on each of them, essentially checking the input 27file. The return value of the above command will be non-zero if any puppet 28run fails. 29 30 31