fixes puppet installer script for ubuntu part of #10
Fixes Issue #10 puppet_installer works with ubuntu

fixes postgresql permissions issue