Add support for Chef 11 and SLES12 postgresql

This changes make possible to install database barclamp on SLES12
I would say ```.to_i == 11``` would match better here.