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

Commit

Permalink
Speed up puppet parser validate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
roidelapluie committed Sep 30, 2015
1 parent 69d5a49 commit 1117238
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1117238

Please sign in to comment.