Chef configuration for OSRF build farm agents.
Test dependencies
- Chef Development Kit
- VirtualBox
- Vagrant
With the above installed, running kitchen converge
will spin up Ubuntu 16.04 and 18.04 virtual machines and try to run this cookbook.
Download the dependencies using berks
:
berks vendor berks-vendor-cookbooks
chef-solo
will find the berks cookbooks donwloaded since the path is in solo.rb
. To run chef-solo
execute:
sudo chef-solo -c solo.rb -j solo.d/default.json
For testing:
sudo chef-solo -Etest -c solo.rb -j solo.d/default.json