Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 25 lines (19 sloc) 0.757 kB
5b220fb @domcleal Syncing module configs
domcleal authored
1 # This file is managed centrally by modulesync
2 # https://github.com/theforeman/foreman-installer-modulesync
3
20a236d @ekohl Add tests
ekohl authored
4 require 'puppetlabs_spec_helper/rake_tasks'
5 require 'puppet-lint/tasks/puppet-lint'
55387e9 @domcleal modulesync: pin rest-client for Ruby 1.8 compat, don't install blacks…
domcleal authored
6
7 # blacksmith isn't always present, e.g. on Travis with --without development
8 begin
9 require 'puppet_blacksmith/rake_tasks'
10 Blacksmith::RakeTask.new do |t|
11 t.tag_pattern = "%s"
12 end
13 rescue LoadError
14 end
20a236d @ekohl Add tests
ekohl authored
15
5b220fb @domcleal Syncing module configs
domcleal authored
16 PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
20a236d @ekohl Add tests
ekohl authored
17 PuppetLint.configuration.log_format = '%{path}:%{linenumber}:%{KIND}: %{message}'
18
8962964 @domcleal modulesync: add param docs lint check, add verify_* helpers
domcleal authored
19 require 'puppet-lint-param-docs/tasks'
20 PuppetLintParamDocs.define_selective do |config|
db944bf @domcleal Enable param docs lint check on main class
domcleal authored
21 config.pattern = ['manifests/init.pp']
8962964 @domcleal modulesync: add param docs lint check, add verify_* helpers
domcleal authored
22 end
23
56b8044 @domcleal modulesync: use blacksmith for Forge releases
domcleal authored
24 task :default => [:validate, :lint, :spec]
Something went wrong with that request. Please try again.