racker icon indicating copy to clipboard operation
racker copied to clipboard

How to set min_packer_version and description?

Open tisba opened this issue 9 years ago • 0 comments

I cannot get racker to output min_packer_version (and description).

Racker::Processor.register_template do |template|
  template.min_packer_version = "0.11.0"
  template.description = "my description"
end

Don't do the job. Roughly skimming rackers code I don't see how I can configure these top-level options.

My current workaround is to parse rackers output, inject the keys and output it again as JSON, but this kind of defeats the purpose of racker :)

tisba avatar Jan 04 '17 09:01 tisba