fix ubuntu postgresql install

(cherry picked from commit 3d8d3c3125591f746fa2191ddb1040cb4a14b7fb)

Conflicts:
	crowbar_framework/app/views/barclamp/database/_edit_attributes.html.haml