From db13f26749e872bc50a41745f6d137f0cbd85811 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Sat, 6 Jun 2015 10:39:30 -0700 Subject: [PATCH] add puppet-blacksmith gem --- Gemfile | 1 + Rakefile | 5 +++++ 2 files changed, 6 insertions(+) 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']