Sha256: 9d493401c67f4aa04c58e251382790ba407b27fa3aa8066ec21ecea922a93e5b

Contents?: true

Size: 1.02 KB

Versions: 44

Compression:

Stored size: 1.02 KB

Contents

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

#
# 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

44 entries across 44 versions & 1 rubygems

Version Path
chef-cli-4.0.0 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.1.6 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.1.3 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.1.1 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.1.0 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.40 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.36 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.35 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.33 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.32 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.31 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.30 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.27 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.24 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.23 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.22 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.16 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.14 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.11 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb
chef-cli-3.0.10 lib/chef-cli/skeletons/code_generator/templates/default/helpers.rb.erb