mig5/scripts — pull request #2 by bragr (2012-12-04 19:06:55+00:00)
Title: Greatly increase speed using xargs

Modified pp_tests() to build a list of puppet files. It then uses that list and xargs to call 'puppet parser validate' as few times as possible, since it will accept many files at a time. In my environment, this results in a 18-24x speedup on large puppet code-bases (depending on the system).