# File lib/r10k/action/puppetfile/check.rb, line 25 def call pf = R10K::Puppetfile.new(@root, @moduledir, @path) begin pf.load! $stderr.puts "Syntax OK" true rescue => e $stderr.puts R10K::Errors::Formatting.format_exception(e, @trace) false end end