rodjek/puppet-lint — pull request #223 by eLobato (2013-09-13 10:07:03+00:00)
Title: Checks for code outside class/define block

Code outside class or define blocks should go in different files
according to the puppet guide.
http://docs.puppetlabs.com/guides/style_guide.html#separate-files

Not only that but it can also trigger nasty bugs as mentioned in issue
https://github.com/rodjek/puppet-lint/issues/220