Sha256: c47e74930da12b02011bbfc15ecabae958103db718fc4f4d2af861b1f334ac7d
Contents?: true
Size: 291 Bytes
Versions: 4
Compression:
Stored size: 291 Bytes
Contents
context = ChefDK::Generator.context cookbook_dir = File.join(context.cookbook_root, context.cookbook_name) recipe_path = File.join(cookbook_dir, "recipes", "#{context.new_file_basename}.rb") template recipe_path do source "recipe.rb.erb" helpers(ChefDK::Generator::TemplateHelper) end
Version data entries
4 entries across 4 versions & 1 rubygems