Infrastructure configs and automation for Kosmos servers
Go to file
Greg d7363d662b Switch the Mediawiki extensions to GitHub zips
This fixes the annoying issue of Mediawiki only keeping one revision of
each branch
2020-03-04 16:03:12 +01:00
.chef Move the generate options to config.rb at the root of the repo 2019-12-27 11:33:05 +01:00
cookbooks Initial version of the kosmos-dirsrv cookbook 2019-11-15 15:41:30 +01:00
data_bags Switch the mediawiki LDAP setup to a new application account 2020-02-21 18:04:48 +01:00
doc Add initial LDAP documentation 2019-12-06 10:54:10 +01:00
environments Enable LDAP support on mediawiki 2020-01-24 13:45:17 +01:00
nodes Update andromeda node info 2020-02-15 13:52:00 -05:00
roles Don't update chef using the chef_client_updater cookbook 2019-10-08 18:17:34 +02:00
site-cookbooks Switch the Mediawiki extensions to GitHub zips 2020-03-04 16:03:12 +01:00
.gitignore Set up an instance of Mastodon for Kosmos 2017-04-06 21:20:51 +02:00
Berksfile Switch the ipfs cookbook from GitHub to Gitlab 2020-02-04 16:26:31 +01:00
Berksfile.lock Switch the ipfs cookbook from GitHub to Gitlab 2020-02-04 16:26:31 +01: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 commented recipes to the run list 2019-10-08 18:22:51 +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