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 7d2374449a Merge pull request 'Do not install PostgreSQL with ejabberd by default' (#218) from bugfix/ejabberd_include_postgresql into master 5 days ago
.chef Move the generate options to config.rb at the root of the repo 9 months ago
clients Set up a testing VM on draco 3 weeks ago
cookbooks Add missing changes for mediawiki upgrades 3 weeks ago
data_bags Bitcoin source recipe 1 month ago
doc Fix the search command for Kosmos LDAP users 2 weeks ago
environments WIP 1 month ago
nodes Add node config for new IPFS (gateway) VM 6 days ago
roles Add a postgresql_client role 3 months ago
scripts/ldap Add shell script for creating LDAP user accounts 2 weeks ago
site-cookbooks Do not include kosmos-postgresql in kosmos-ejabberd default recipe 5 days ago
.gitignore Set up an instance of Mastodon for Kosmos 3 years ago
.gitmodules Use our own fork of the postgresql cookbook 3 months ago
Berksfile Add missing changes for mediawiki upgrades 3 weeks ago
Berksfile.lock Add missing changes for mediawiki upgrades 3 weeks ago
Gemfile Update Chef to 15.3.14 11 months ago
Gemfile.lock Update Chef to 15.3.14 11 months ago
README.md Add the command to update Chef Client 11 months ago
Vagrantfile Suggest bitcoin source recipe for dev 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