From 9bbc2d0537a270c89d70070586b025e24f2e7e50 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Fri, 1 May 2015 15:21:13 -0700 Subject: [PATCH] add metadata-json-lint to Gemfile & enable rake validate target --- Gemfile | 3 ++- Rakefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index c814dfcaa..ea164bf88 100644 --- a/Gemfile +++ b/Gemfile @@ -9,6 +9,7 @@ gem 'puppetlabs_spec_helper', :github => 'jenkins-infra/puppetlabs_spec_helper' gem 'puppet-syntax', '>= 1.1.0' gem 'json' gem 'puppet', ENV['PUPPET_VERSION'] || '~> 3.5' +gem 'metadata-json-lint' group :development do gem 'simplecov' @@ -23,4 +24,4 @@ group :system_tests do gem 'beaker-rspec', :require => false gem 'serverspec', :require => false gem 'vagrant-wrapper',:require => false -end \ No newline at end of file +end diff --git a/Rakefile b/Rakefile index b91296e54..5569c4bb7 100644 --- a/Rakefile +++ b/Rakefile @@ -24,4 +24,4 @@ end PuppetSyntax.exclude_paths = exclude_paths -task :default => [:lint, :spec, :syntax] +task :default => [:lint, :validate, :spec]