def provision(self):
        with self.using(YumRole) as role:
            role.ensure_package_installed('postgresql-server')
            role.ensure_package_installed('postgresql-devel')

        self._ensure_initialized()
        self._ensure_running()
        self._run_on_startup()
Installs `PostgreSQL <http://www.postgresql.org/>`_ and its dependencies.
dataset/ETHPy150Open python-provy/provy/provy/more/centos/database/postgresql.py/PostgreSQLRole.provision