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.
Râu Cao 5b86aca5e8
Update andromeda node info
1 day ago
.chef Move the generate options to config.rb at the root of the repo 1 month ago
cookbooks Initial version of the kosmos-dirsrv cookbook 3 months ago
data_bags Use a custom resource to create a 389 Directory Server instance 2 months ago
doc Add initial LDAP documentation 2 months ago
environments Enable LDAP support on mediawiki 3 weeks ago
nodes Update andromeda node info 1 day ago
roles Don't update chef using the chef_client_updater cookbook 4 months ago
site-cookbooks Set the ACIs on the base DN 4 days ago
.gitignore Set up an instance of Mastodon for Kosmos 2 years ago
Berksfile Switch the ipfs cookbook from GitHub to Gitlab 1 week ago
Berksfile.lock Switch the ipfs cookbook from GitHub to Gitlab 1 week ago
Gemfile Update Chef to 15.3.14 4 months ago
Gemfile.lock Update Chef to 15.3.14 4 months ago
README.md Add the command to update Chef Client 4 months ago
Vagrantfile Add commented recipes to the run list 4 months 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