.. | ||
archive.rb | ||
blog.rb | ||
dns.rb | ||
flux.rb | ||
gallery.rb | ||
git.rb | ||
gtw.rb | ||
justfile | ||
kb.rb | ||
lxd101.rb | ||
lxd2204.rb | ||
mail.rb | ||
mkdocs.rb | ||
photos.rb | ||
pwd.rb | ||
README.md | ||
server_cert.der | ||
server_cert.pem | ||
twt.rb | ||
ytb.rb |
Create Policyfiles here. When using a chef-repo, give your Policyfiles
the same filename as the name set in the policyfile itself, and use the
.rb
file extension.
Compile the policy with a command like this:
chef install policyfiles/my-app-frontend.rb
This will create a lockfile policyfiles/my-app-frontend.lock.json
.
To update locked dependencies, run chef update
like this:
chef update policyfiles/my-app-frontend.rb
You can upload the policy (with associated cookbooks) to the server using a command like:
chef push staging policyfiles/my-app-frontend.rb