Infrastructure configs and automation for Kosmos servers
Go to file
Basti b662c04183
Finish initial encfs cookbook and postgres adaptations
2020-06-08 17:01:24 +02:00
.chef Move the generate options to config.rb at the root of the repo 2019-12-27 11:33:05 +01:00
clients Add the Chef client public keys for andromeda and barnard 2020-05-14 15:34:10 +02:00
cookbooks Use our own fork of the postgresql cookbook 2020-06-07 12:29:34 +02:00
data_bags Create an initial encfs cookbook 2020-06-04 19:50:20 +02:00
doc Improve LDAP example command 2020-04-19 13:01:39 +02:00
environments Enable LDAP support on mediawiki 2020-01-24 13:45:17 +01:00
nodes Update Mastodon system dependencies 2020-05-25 17:49:22 +02:00
roles Add the gitea role 2020-06-02 11:22:10 +02:00
site-cookbooks Finish initial encfs cookbook and postgres adaptations 2020-06-08 17:01:24 +02:00
.gitignore Set up an instance of Mastodon for Kosmos 2017-04-06 21:20:51 +02:00
.gitmodules Use our own fork of the postgresql cookbook 2020-06-07 12:29:34 +02:00
Berksfile Use our own fork of the postgresql cookbook 2020-06-07 12:29:34 +02:00
Berksfile.lock Use our own fork of the postgresql cookbook 2020-06-07 12:29:34 +02:00
Gemfile Update Chef to 15.3.14 2019-10-08 18:17:34 +02:00
Gemfile.lock Update Chef to 15.3.14 2019-10-08 18:17:34 +02:00
README.md Add the command to update Chef Client 2019-10-10 12:43:47 +02:00
Vagrantfile Add encfs to Vagrantfile 2020-06-07 12:30:00 +02:00

README.md

Install dependencies

bundle install

Run Chef Solo

knife zero converge name:dev.kosmos.org

Update Chef Client on a server:

knife zero converge name:dev.kosmos.org --client-version 15.3.14

Bootstrap a new server

knife zero bootstrap root@dev.kosmos.org --run-list "recipe[kosmos-base],..." -j '{"example_cookbook":{"memory_max":"256M"}}' --secret-file .chef/encrypted_data_bag_secret

Managing cookbooks

Cookbooks are managed via Berkshelf. Run berks --help for command help.

Install cookbooks listed in Berksfile:

berks install

Vendor installed cookbooks to the cookbooks/ dir:

berks vendor cookbooks/ --delete