Greg
e6b7794e20
This allows us to use them for KVM hosts as well. Until now we had set up ufw rules manually on the two KVM hosts (draco and centaurus) Refs #244 |
||
---|---|---|
.chef | ||
clients | ||
cookbooks | ||
data_bags | ||
doc | ||
environments | ||
nodes | ||
roles | ||
scripts/ldap | ||
site-cookbooks | ||
.gitignore | ||
.gitmodules | ||
Berksfile | ||
Berksfile.lock | ||
Gemfile | ||
Gemfile.lock | ||
README.md | ||
Vagrantfile |
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