Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge pull request #707 from puppetlabs/jbondpdx-patch-1
[puppet-modules/puppetlabs-apt.git]
/
Rakefile
diff --git
a/Rakefile
b/Rakefile
index 3e8d4cb9526d1ac226aa591ea64ac558f905e50a..d12d85495d735b72ada9cb125a3b9ce13db13561 100644
(file)
--- a/
Rakefile
+++ b/
Rakefile
@@
-1,10
+1,9
@@
-require 'puppet_blacksmith/rake_tasks'
-require 'puppet-lint/tasks/puppet-lint'
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppetlabs_spec_helper/rake_tasks'
+require 'puppet-lint/tasks/puppet-lint'
+require 'puppet_blacksmith/rake_tasks' if Bundler.rubygems.find_name('puppet-blacksmith').any?
+PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('relative')
PuppetLint.configuration.send('relative')
-PuppetLint.configuration.send('disable_documentation')
-PuppetLint.configuration.send('disable_single_quote_string_with_variables')
desc 'Generate pooler nodesets'
task :gen_nodeset do
desc 'Generate pooler nodesets'
task :gen_nodeset do