Sha256: 7da9d3c654f801402bd45839e84eaf10251f3a7eef0b57ba0f4016049bab2d79

Contents?: true

Size: 817 Bytes

Versions: 11

Compression:

Stored size: 817 Bytes

Contents

# Policyfile.rb - Describe how you want Chef to build your system.
#
# For more information on the Policyfile feature, visit
# https://github.com/opscode/chef-dk/blob/master/POLICYFILE_README.md

# 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

11 entries across 11 versions & 3 rubygems

Version Path
chefdk-julia-1.0.1 templates/default/Policyfile.rb.erb
chefdk-julia-1.0.0 templates/default/Policyfile.rb.erb
chefdk-julia-0.4.4 templates/default/Policyfile.rb.erb
chef-dk-0.11.2 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb
chef-dk-0.11.0 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb
cookbook_creator-0.0.3 lib/skeletons/code_generator/templates/default/Policyfile.rb.erb
cookbook_creator-0.0.2 lib/skeletons/code_generator/templates/default/Policyfile.rb.erb
chefdk-julia-0.4.3 templates/default/Policyfile.rb.erb
chefdk-julia-0.4.2 templates/default/Policyfile.rb.erb
chefdk-julia-0.4.1 templates/default/Policyfile.rb.erb
chef-dk-0.10.0 lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb