Infrastructure as a code.
bundle install
- Bootstrap chef (1st time) :
knife solo bootstrap user@host nodes/xxxxxx.json
- Running recipe :
knife solo cook user@host nodes/yyyyyy.json
We need to do these whenever we have to update cookbooks depedencies:
- Run
bundle exec berks update
bundle exec berks vendor cookbooks
- Commit and updated
cookbooks
directory