Greg Karékinian a0db6adaf2 Pass the data_directory to the postgresql_server_conf resource
Previously we were passing it as an additional config, but it is set by
default. The last value was used, the custom one, so the server still
used the correct file
2020-06-10 14:41:07 +02:00
2020-04-19 13:01:39 +02:00
2020-06-02 11:22:10 +02:00
2019-10-08 18:17:34 +02:00
2019-10-08 18:17:34 +02:00
2020-06-07 12:30:00 +02:00

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
Description
Infrastructure configs and automation for Kosmos servers
Readme 15 MiB
Languages
Ruby 60.5%
HTML 35.5%
C 2%
PowerShell 1%
Shell 0.9%