Test only the files for syntax errors:
puppet parser validate *.pp
Test the whole catalog from a client:
root@client:~# puppetd --test