Files
puppet-vswitch/Rakefile
Sebastien Badia 34694cbb60 Update repo for stackforge migration
* Add gerrit configuration
  * s/Puppetfile/Gemfile: puppetfile with this content is a mistake
  * Fix puppet modulefile (stackforge migration)
  * Add puppet-lint configuration like other puppet projects on stackforge
  * Add Gemlock file
  * And update gitingore
  * Solve lint issues, and minors improvments

    [lint issues]
    * class not documented
    * variable not enclosed in {}
    * double quoted string containing no variables
    * case statement without a default case
    * indentation of => is not properly aligned
    * soft and hard tabs

    [improvments]
    * Use a case instead of a if/if

Change-Id: I58614f7995e6b8f3f7f6426269077810962cc682
2013-10-25 15:34:14 +02:00

8 lines
323 B
Ruby

require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.send('disable_class_parameter_defaults')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')