chef/policies/andromeda.rb
Greg Karékinian 216be46f92 WIP: Add initial Policyfiles
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
2019-08-23 18:36:22 +02:00

24 lines
836 B
Ruby

name 'barnard'
default_source :supermarket
default_source :chef_repo, "../site-cookbooks"
override['kosmos-ipfs']['ipfs']['config']['Swarm.ConnMgr.LowWater'] = 100
override['kosmos-ipfs']['ipfs']['config']['Swarm.ConnMgr.HighWater'] = 300
override['ipfs']['memory_max'] = '1G'
include_policy 'base', path: '.'
include_policy 'mastodon', path: '.'
include_policy 'ejabberd', path: '.'
run_list 'kosmos-base::andromeda_firewall',
'kosmos-ipfs',
'kosmos-ipfs::public_gateway',
'kosmos-postgresql',
'kosmos-mediawiki',
'kosmos-btcpayserver::proxy'
cookbook 'ipfs', git: 'https://github.com/67P/ipfs-cookbook.git',
ref: 'v0.4.1'
cookbook 'mediawiki', git: 'https://github.com/67P/mediawiki-cookbook.git',
ref: '55a4680ee298199fa5f7fa51b5c589fbfa52eed0'