diff --git a/Gemfile b/Gemfile index 7ac9540..c920b1b 100644 --- a/Gemfile +++ b/Gemfile @@ -29,6 +29,7 @@ group :beaker do gem 'beaker-rspec', :require => false gem 'pry', :require => false gem 'travis-lint', :require => false + gem 'puppet-blacksmith', :require => false end # vim:ft=ruby diff --git a/Rakefile b/Rakefile index 48e83ce..eb6ac09 100644 --- a/Rakefile +++ b/Rakefile @@ -2,6 +2,11 @@ require 'puppetlabs_spec_helper/rake_tasks' require 'puppet-syntax/tasks/puppet-syntax' require 'puppet-lint/tasks/puppet-lint' +begin + require 'puppet_blacksmith/rake_tasks' +rescue LoadError +end + PuppetLint.configuration.send("disable_class_inherits_from_params_class") PuppetLint.configuration.send("disable_80chars") PuppetLint.configuration.ignore_paths = ['pkg/**/*.pp', 'spec/**/*.pp', 'tests/**/*.pp']