metadata and puppet syntax checking

This rake task was added to puppetlabs_spec_helper https://github.com/puppetlabs/puppetlabs_spec_helper/blob/master/lib/puppetlabs_spec_helper/rake_tasks.rb#L221-L224