Fix postgis::client
Refactoring and using puppet resources instead of shell script