curl the silly moo.rb recipe file
curl -o moo.rb https://gist.githubusercontent.com/dayne/3869744e305531fc878d/raw/moo.rb
chef client local mode install it and try it out:
sudo chef-client -z moo.rb
cowfortune
cowfortune
to get a random cow type with random fortune
cowfortune -l
to give yourself a looping cowfortune