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 aecdaabbcc Merge branch 'chore/enable_wiki_editor_toolbar' of kosmos/chef into master 1 week ago
.chef Set attribute whitelists for Knife-Zero 1 month ago
cookbooks Vendor the external cookbooks 1 month ago
data_bags Add/fix akkounts credentials 1 month ago
doc Simplify the instructions to get the cluster secret 6 months ago
environments Set a low Java heap size in development 1 month ago
nodes Update barnard node config 1 month ago
roles Don't update chef using the chef_client_updater cookbook 1 month ago
site-cookbooks Merge branch 'chore/enable_wiki_editor_toolbar' of kosmos/chef into master 1 week ago
.gitignore Set up an instance of Mastodon for Kosmos 2 years ago
Berksfile Update poise-javascript to support Chef 15 1 month ago
Berksfile.lock Update poise-javascript to support Chef 15 1 month ago
Gemfile Update Chef to 15.3.14 1 month ago
Gemfile.lock Update Chef to 15.3.14 1 month ago
README.md Add the command to update Chef Client 1 month ago
Vagrantfile Add commented recipes to the run list 1 month 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