Sha256: f4396b3373631703e1acafe0b0362f70a5b7846980873cf33af16e5a559f835a

Contents?: true

Size: 1.05 KB

Versions: 13

Compression:

Stored size: 1.05 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

13 entries across 13 versions & 1 rubygems

Version Path
chef-dk-3.9.0 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.8.14 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.7.23 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.6.57 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.5.13 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-2.6.2 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.4.38 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-2.6.1 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.3.23 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.2.30 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-2.5.13 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-3.1.0 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb
chef-dk-2.5.3 lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb