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.
gregkare 1b2edb770e Merge branch 'bugfix/mastodon-web_service' of kosmos/chef into master 12 hours ago
.chef Set attribute whitelists for Knife-Zero 6 days ago
cookbooks Vendor the external cookbooks 3 days ago
data_bags Configure Kredits signup for hal8000_xmpp 1 month ago
doc Simplify the instructions to get the cluster secret 4 months ago
environments Set a low Java heap size in development 1 week ago
nodes Fix Mastodon Web systemd service 16 hours ago
roles Don't update chef using the chef_client_updater cookbook 1 week ago
site-cookbooks Fix Mastodon Web systemd service 16 hours ago
.gitignore Set up an instance of Mastodon for Kosmos 2 years ago
Berksfile Update poise-javascript to support Chef 15 1 week ago
Berksfile.lock Update poise-javascript to support Chef 15 1 week ago
Gemfile Update Chef to 15.3.14 1 week ago
Gemfile.lock Update Chef to 15.3.14 1 week ago
README.md Add the command to update Chef Client 6 days ago
Vagrantfile Add commented recipes to the run list 1 week ago

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