- Raspberry Pi running raspbian wheezy
- SSH enabled and connected to the network
- Copy your public key to the Raspberry Pi to allow ssh login without a password.
cat ~/.ssh/id_rsa.pub | ssh pi@<ip-address> "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"
- Bootstrap raspbian wheezy - run this on the Pi.
curl -sSL https://raw2.github.com/railsbob/puppet-pi_shairport/master/bootstrap.sh | sudo bash
This will install the necessary packages required to run the puppet recipe.
- Initiate a puppet run from your machine.
git clone firstname.lastname@example.org:railsbob/puppet-pi_shairport.git cd puppet-pi_shairport ./puppet-run.sh <ip-address>
That's it! The command will install shairport and configure it to run on the boot. Reboot the pi and you should see an Airplay logo on your iTunes status bar. Select 'Shairport on raspberrypi' and test the streaming by connecting a headphone to the 3.5mm audio port.