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
20 lines
566 B
Ruby
20 lines
566 B
Ruby
name 'barnard'
|
|
default_source :supermarket
|
|
default_source :chef_repo, "../site-cookbooks" do |s|
|
|
s.preferred_for "backup"
|
|
end
|
|
include_policy 'base', path: '.'
|
|
include_policy 'kredits_github', path: '.'
|
|
|
|
override['ipfs']['memory_max'] = '256M'
|
|
run_list 'kosmos-ipfs',
|
|
'kosmos-hubot::botka_freenode',
|
|
'kosmos-hubot::hal8000',
|
|
'kosmos-hubot::hal8000_xmpp',
|
|
'kosmos-hubot::wormhole',
|
|
'sockethub',
|
|
'sockethub::proxy'
|
|
|
|
cookbook 'ipfs', git: 'https://github.com/67P/ipfs-cookbook.git',
|
|
ref: 'v0.4.1'
|