A simple Chef Cookbook that will configure motion on your Raspberry Pi (running Raspbian). It will also configure it to send avi files to an email address of your choice (via gmail) when motion is detected.