Infrastructure automation code for Kosmos servers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
raucao bc80540c14 Merge pull request 'Deploy new wormhole release on barnard' (#251) from chore/wormhole_barnard into master 2 days ago
.chef Move the generate options to config.rb at the root of the repo 11 months ago
clients Set up ejabberd-2 VM 4 days ago
cookbooks Update IPFS cookbook 1 month ago
data_bags Use the same Erlang cookie to enable clustering 4 days ago
doc Fix the search command for Kosmos LDAP users 2 months ago
environments WIP 3 months ago
nodes Remove akkounts recipe from barnard runlist 2 days ago
roles Use the production run list when no Chef environment was set 4 days ago
scripts/ldap Add CLI script for hashing LDAP passwords 1 week ago
site-cookbooks Add new nickname config for wormhole 2 days ago
.gitignore Set up an instance of Mastodon for Kosmos 3 years ago
.gitmodules Use our own fork of the postgresql cookbook 5 months ago
Berksfile Update IPFS cookbook 1 month ago
Berksfile.lock Update IPFS cookbook 1 month ago
Gemfile Update Chef to 15.3.14 1 year ago
Gemfile.lock Update Chef to 15.3.14 1 year ago Add the command to update Chef Client 1 year ago
Vagrantfile Suggest bitcoin source recipe for dev 3 months ago

Install dependencies

bundle install

Run Chef Solo

knife zero converge

Update Chef Client on a server:

knife zero converge --client-version 15.3.14

Bootstrap a new server

knife zero bootstrap --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