def ensure_conf(self, template, varnish_conf_path='/etc/default/varnish', options={}, owner=None):

        result = self.update_file(template, varnish_conf_path, options=options, sudo=True, owner=owner)
        if result:
            self.log('varnish conf updated!')
            self.ensure_restart()
Ensures that Varnish's configuration file at the specified path is up-to-date.
dataset/ETHPy150Open python-provy/provy/provy/more/debian/cache/varnish.py/VarnishRole.ensure_conf