diff --git a/slapos/recipe/generic_varnish/__init__.py b/slapos/recipe/generic_varnish/__init__.py index 678b4b5b348a9717e31efd6bc8df8f417cc3956d..0ccebc506e4901ac03d273fd0cf56ddc8c7794a4 100644 --- a/slapos/recipe/generic_varnish/__init__.py +++ b/slapos/recipe/generic_varnish/__init__.py @@ -37,9 +37,11 @@ class Recipe(GenericSlapRecipe): """ def _install(self): ip = self.options['ip'] - backend_url = self.parameter_dict.get( - 'backend-url', - self.parameter_dict.get('tidstorage-url') # BBB + backend_url = self.options.get('backend-url', + # BBB: Peeking in partition parameters directly. Eew. + self.parameter_dict.get('backend-url', + self.parameter_dict.get('tidstorage-url') # BBB + ) ) backend_server, backend_port = self._getBackendServer(backend_url) path_list = []