Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Commit

Permalink
Update modulesync config
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Feb 3, 2017
1 parent 5993b11 commit 4570c62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ gem 'puppet-blacksmith', '>= 3.1.0', {"groups"=>["development"]}
gem 'json', '~> 1.0', {"platforms"=>["ruby_19"], "groups"=>["test"]}
gem 'json_pure', '~> 1.0', {"platforms"=>["ruby_19"], "groups"=>["test"]}
gem 'metadata-json-lint'
gem 'kafo_module_lint'

# vim:ft=ruby
7 changes: 6 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if Gem::Version.new(RUBY_VERSION) > Gem::Version.new('1.8.7')
end

PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
PuppetLint.configuration.log_format = '%{path}:%{linenumber}:%{KIND}: %{message}'
PuppetLint.configuration.log_format = '%{path}:%{line}:%{KIND}: %{message}'

# Used for type alias tests
PuppetSyntax.exclude_paths << 'spec/static_fixtures/test_module/**/*.pp' if Puppet.version.to_f < 4.0
Expand All @@ -27,4 +27,9 @@ PuppetLintParamDocs.define_selective do |config|
config.pattern = []
end

require 'kafo_module_lint/tasks'
KafoModuleLint::RakeTask.new do |config|
config.pattern = []
end

task :default => [:validate, :lint, :spec]

0 comments on commit 4570c62

Please sign in to comment.