Merging in other peoples fixes, and fixing redhat bug 

Hey you might be interested in these fixes, the cookbook just doesn't work on redhat servers, and i pulled in the fixes other people have been making.