Sha256: c608a8f00836c4f24aca89f7378b5a108e8cb267f64e9af2bb77f72dec73dce8
Contents?: true
Size: 433 Bytes
Versions: 7
Compression:
Stored size: 433 Bytes
Contents
module Ra10ke::Syntax def define_task_syntax(*_args) desc "Syntax check Puppetfile" task :syntax do require 'r10k/action/puppetfile/check' puppetfile = R10K::Action::Puppetfile::Check.new({ :root => @basedir, :moduledir => @moduledir, :puppetfile => @puppetfile_path }, '') unless puppetfile.call abort("Puppetfile syntax check failed") end end end end
Version data entries
7 entries across 7 versions & 1 rubygems