Skip to content

Commit

Permalink
Only validate the actual packer configs
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Feb 15, 2020
1 parent 6c5859c commit 050d7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require "fileutils"

desc "Validate all templates using Packer"
task :validate do
Dir.glob("**/*.json").sort.each do |template_path|
Dir.glob("packer_templates/**/*.json").sort.each do |template_path|
template_dir = File.dirname(template_path)
filename = File.basename(template_path)

Expand Down

0 comments on commit 050d7cb

Please sign in to comment.