Sha256: 48945484acad67bae33b3c1f0243be3b91f21333e8dafa949c1c4117e9bb811a

Contents?: true

Size: 811 Bytes

Versions: 9

Compression:

Stored size: 811 Bytes

Contents

# Policyfile.rb - Describe how you want Chef to build your system.
#
# For more information on the Policyfile feature, visit
# https://docs.chef.io/policyfile.html

# A name that describes what the system you're building with Chef does.
name '<%= policy_name %>'

<% if include_chef_repo_source %>
# This lets you source cookbooks from your chef-repo.
default_source :chef_repo, '../'

<% end -%>
# Where to find external cookbooks:
default_source :supermarket

# run_list: chef-client will run these recipes in the order specified.
run_list '<%= policy_run_list %>'

# Specify a custom source for a single cookbook:
<% if policy_local_cookbook.nil? %>
# cookbook 'example_cookbook', path: '../cookbooks/example_cookbook'
<% else %>
cookbook '<%= cookbook_name %>', path: '.'
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
chef-dk-3.9.0 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-dk-3.8.14 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-dk-3.7.23 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-dk-3.6.57 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-dk-3.5.13 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-dk-3.4.38 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-dk-3.3.23 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-dk-3.2.30 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-dk-3.1.0 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb