summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppet.com>2017-01-19 16:17:47 -0800
committerHunter Haugen <hunter@puppet.com>2017-01-24 11:13:55 -0800
commit1229d5a831995ddc2c9814f5104ea2a2c9df65a9 (patch)
tree2e22c5dfdba611449494acf6e6873d5bc6b28d66 /Rakefile
parent5aa8419c94a8c5005383f5a8948708ed8efd0e5f (diff)
(MODULES-4098) Sync the rest of the files
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index 3e8d4cb..d12d854 100644
--- 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 '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('disable_documentation')
-PuppetLint.configuration.send('disable_single_quote_string_with_variables')
desc 'Generate pooler nodesets'
task :gen_nodeset do