[Rubocop](https://github.com/bbatsov/rubocop) is a static verification and linting tool for ruby. It tries to look for violations of [ruby-style-guide](https://github.com/bbatsov/ruby-style-guide), which is useful to avoid common programming errors that can be caught before runtime. The particular restrictions enabled are called `Cops` in Rubocop parlance.
We have a [thread in puppet-dev mailing list](https://groups.google.com/forum/#!topic/puppet-dev/Yy6i2AGw66o) which will be used to evolve consensus regarding the particular cops to be enabled for puppet codebase. As of now, we have consensus on enabling these cops immediately
and `Style/AndOr` to be taken up later.
Our plan involves incorporating rubocop as a puppet rake task `rake rubocop`, and invoke it as a job from travisCI during pull requests, and also run the task using Jenkins.