Sha256: 480ca4814c7ee6bd592dfc7beed810143c61d7c7b0523f4cd1fbb250deca224d

Contents?: true

Size: 795 Bytes

Versions: 44

Compression:

Stored size: 795 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/

# 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

44 entries across 44 versions & 1 rubygems

Version Path
chef-cli-5.6.16 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.6.14 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.6.13 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.6.12 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.6.11 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.6.8 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.6.1 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.6.0 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.5.6 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.5.5 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.5.4 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.5.0 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.4.2 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.4.1 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.3.1 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.3.0 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.2.0 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.1.0 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-5.0.1 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-4.0.1 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb