Policyfiles take care of dependency resolution and run lists, replacing environments and roles (see https://docs.chef.io/policyfile.html) The lock files were generated using [Chef Workstation](https://downloads.chef.io/chef-workstation/0.8.7) using the `chef install policies/POLICY.rb` for each policy. Refs #78
12 lines
331 B
Ruby
12 lines
331 B
Ruby
name 'kredits_github'
|
|
default_source :supermarket
|
|
default_source :chef_repo, "../site-cookbooks" do |s|
|
|
s.preferred_for "backup"
|
|
end
|
|
|
|
run_list 'kredits-github::default',
|
|
'kredits-github::nginx'
|
|
|
|
cookbook 'poise-javascript', git: 'https://github.com/67p/poise-javascript.git',
|
|
ref: 'e5fff15'
|