

def provision(self):
    "\n        Installs `Varnish <https://www.varnish-cache.org/>`_ and its dependencies.\n        This method should be called upon if overriden in base classes, or Varnish won't work properly in the remote server.\n\n        Example:\n        ::\n\n            from provy.core import Role\n            from provy.more.debian import VarnishRole\n\n            class MySampleRole(Role):\n                def provision(self):\n                    self.provision_role(VarnishRole) # does not need to be called if using with block.\n        "
    with aptitude.using(AptitudeRole) as aptitude:
        aptitude.ensure_package_installed('varnish')

dataset/ETHPy150Open python-provy/provy/provy/more/debian/cache/varnish.py VarnishRole.provision/VarMisuse@13/196 `self`->`aptitude`