Sha256: df3b5d4e2bcf2fbbc9729f75e8dc8b8a568c0eb7ffd6970d4c46ac208ff03f87
Contents?: true
Size: 382 Bytes
Versions: 30
Compression:
Stored size: 382 Bytes
Contents
context = ChefDK::Generator.context cookbook_dir = File.join(context.cookbook_root, context.cookbook_name) attribute_dir = File.join(cookbook_dir, "attributes") attribute_path = File.join(cookbook_dir, "attributes", "#{context.new_file_basename}.rb") directory attribute_dir template attribute_path do source "attribute.rb.erb" helpers(ChefDK::Generator::TemplateHelper) end
Version data entries
30 entries across 28 versions & 2 rubygems