Skip to content

Instantly share code, notes, and snippets.

@jasonwbarnett
Created March 4, 2022 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonwbarnett/a4486008bacfecb77e03ba194d47c1aa to your computer and use it in GitHub Desktop.
Save jasonwbarnett/a4486008bacfecb77e03ba194d47c1aa to your computer and use it in GitHub Desktop.
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 'testd'
# Where to find external cookbooks:
default_source :chef_server, "https://api.chef.io/organizations/wschef"
# run_list: chef-client will run these recipes in the order specified.
run_list 'testd::default'
# Specify a custom source for a single cookbook:
cookbook 'testd', path: '.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment