From 11172384276bedd60e845ae993c7c5aa2edf9255 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Wed, 30 Sep 2015 14:28:20 +0200 Subject: [PATCH] Speed up puppet parser validate tests --- Rakefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 125cbfc..c35cebb 100644 --- a/Rakefile +++ b/Rakefile @@ -13,9 +13,7 @@ PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"] desc "Validate manifests, templates, and ruby files in lib." task :validate do - Dir['manifests/**/*.pp'].each do |manifest| - sh "puppet parser validate --noop #{manifest}" - end + sh "puppet parser validate --noop #{Dir['manifests/**/*.pp'].join(" ")}" Dir['lib/**/*.rb'].each do |lib_file| sh "ruby -c #{lib_file}" end