Skip to content

Commit 9c34cc0

Browse files
authored
Update Rakefile
1 parent 668915b commit 9c34cc0

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", "vendor/
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)