def provision(self):
        '''
        Installs `PostgreSQL <http://www.postgresql.org/>`_ and its dependencies.
        This method should be called upon if overriden in base classes, or PostgreSQL won't work properly in the remote server.

        Example:
        ::

            class MySampleRole(Role):
                def provision(self):
                    self.provision_role(PostgreSQLRole) # no need to call this if using with block.
        '''
        with self.using(AptitudeRole) as role:
            role.ensure_package_installed('postgresql')
            role.ensure_package_installed(self.__get_version() % 'postgresql-server-dev-%s')
dataset/ETHPy150Open python-provy/provy/provy/more/debian/database/postgresql.py/PostgreSQLRole.provision/swapped operands of `%`