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-4.0.0 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.1.6 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.1.3 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.1.1 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.1.0 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.40 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.36 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.35 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.33 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.32 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.31 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.30 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.27 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.24 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.23 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.22 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.16 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.14 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.11 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-cli-3.0.10 lib/chef-cli/skeletons/code_generator/templates/default/Policyfile.rb.erb