Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.

Commit 1117238

Browse files
author
Julien Pivotto
committed
Speed up puppet parser validate tests
1 parent 69d5a49 commit 1117238

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Rakefile

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
1313

1414
desc "Validate manifests, templates, and ruby files in lib."
1515
task :validate do
16-
Dir['manifests/**/*.pp'].each do |manifest|
17-
sh "puppet parser validate --noop #{manifest}"
18-
end
16+
sh "puppet parser validate --noop #{Dir['manifests/**/*.pp'].join(" ")}"
1917
Dir['lib/**/*.rb'].each do |lib_file|
2018
sh "ruby -c #{lib_file}"
2119
end

0 commit comments

Comments
 (0)