Switch to variables to allow Ubuntu 12 support

This is pretty simple. I added Ubuntu 12 support and that's it. Please merge this and submit the updated cookbook to Opscode. I am willing to be a co-maintainer and my Opscode community user is "cgianelloni" if you prefer.

Thanks