Fixed apt version constraint & chef 11 compatibility.

Requiring an exact version of apt, is not required, and breaks across cookbooks. Instead it should be at least 1.9.2.

I think this (node.attribute.go?(:server)) is deprecated in chef 11, so instead i replaced it with a rather inelegant if attribute && instead.