Sha256: 510c0b802f6e7f06ce010f92b3247dbc32e6a53d14b0c6d65d698deaa00d9288

Contents?: true

Size: 1.01 KB

Versions: 36

Compression:

Stored size: 1.01 KB

Contents

#
# Chef Documentation
# https://docs.chef.io/libraries.html
#

#
# This module name was auto-generated from the cookbook name. This name is a
# single word that starts with a capital letter and then continues to use
# camel-casing throughout the remainder of the name.
#
module <%= @cookbook_class_name %>
  module <%= @helper_class_name %>
    #
    # Define the methods that you would like to assist the work you do in recipes,
    # resources, or templates.
    #
    # def my_helper_method
    #   # help method implementation
    # end
  end
end

#
# The module you have defined may be extended within the recipe to grant the
# recipe the helper methods you define.
#
# Within your recipe you would write:
#
#     extend <%= @cookbook_class_name %>::<%= @helper_class_name %>
#
#     my_helper_method
#
# You may also add this to a single resource within a recipe:
#
#     template '/etc/app.conf' do
#       extend <%= @cookbook_class_name %>::<%= @helper_class_name %>
#       variables specific_key: my_helper_method
#     end
#

Version data entries

36 entries across 36 versions & 3 rubygems

Version Path
chef-dk-4.13.3 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-4.12.0 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-4.11.0 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-4.10.0 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-4.9.7 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-2.0.10 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-4.7.73 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.13.1 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-4.6.35 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.12.10 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.12.0 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-4.5.0 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-2.0.0 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-4.4.27 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-1.0.16 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-1.0.14 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-1.0.13 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-4.3.13 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-1.0.11 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-1.0.9 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb