This is my attempt to have a proper Raspbian server edition using chef. Currently it sets the hostname and removes some uneeded/unwanted packages that come pre-installed in the vanilla raspbian install. Works at least with the latest raspbian (as of 2015-05-05) older versions may work also.
Before cooking your Raspbian server edition please install:
- Install vagrant
- Install virtualbox
- Download and install Chef-DK
vagrant plugin install vagrant-berkshelf
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-omnibus
bundle
kitchen converge
will cook everything.kitchen verify
will run the tests.kitchen test
will run converge and then will run the tests.kitchen destroy
will terminate every trace of the VM.
- Follow the instructions on how to install raspbian your raspberry pi
- Put your ssh public key on the authorized keys in the root user of your pi.
knife configure -r . --defaults
- Configure your raspberry pi in nodes/raspberrypi.json
knife solo bootstrap root@raspberrypi
to install chef and start cooking.
Licensed under the WTFPL license.