Public cookbooks for postgresql don't work on CentOS7, so make a quick hack of a recipe to install the CentOS postgresql-server package and start.
Remove managed cookbook directory