Sha256: 60cc53566be591cf953da937778ba12f2108c7a8d93764da41e54c21aeec29cd

Contents?: true

Size: 799 Bytes

Versions: 25

Compression:

Stored size: 799 Bytes

Contents

# Policyfile.rb - Describe how you want Chef Infra Client 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

25 entries across 25 versions & 2 rubygems

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