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
15 lines
420 B
Ruby
15 lines
420 B
Ruby
name 'mastodon'
|
|
|
|
run_list 'kosmos-mastodon',
|
|
'kosmos-mastodon::nginx'
|
|
|
|
default_source :supermarket
|
|
default_source :chef_repo, "../site-cookbooks" do |s|
|
|
s.preferred_for "backup"
|
|
end
|
|
|
|
cookbook 'poise-javascript', git: 'https://github.com/67p/poise-javascript.git',
|
|
ref: 'e5fff15'
|
|
cookbook 'redis', git: 'https://github.com/phlipper/chef-redis.git',
|
|
ref: 'v0.5.6'
|