From 883708d063220e9b89970bcbbcd7289cc582c171 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 10 Feb 2017 16:30:38 +0100 Subject: [PATCH] Bugfixing --- lib/webhooks/deploy.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/webhooks/deploy.py b/lib/webhooks/deploy.py index e2a407f..1552a4b 100644 --- a/lib/webhooks/deploy.py +++ b/lib/webhooks/deploy.py @@ -593,7 +593,8 @@ class WebhookDeployApp(object): ns=self.namespace, n=self.name) if self.full_name == 'puppet/hiera': - return self.deploy_hiera() + cfg = copy.copy(self.projects['hiera']) + return self.deploy_hiera(cfg) # if self.namespace == 'puppet': # return self.deploy_puppet_modules() @@ -628,7 +629,7 @@ class WebhookDeployApp(object): return True # ------------------------------------------------------------------------- - def deploy_hiera(self): + def deploy_hiera(self, cfg): LOG.info("Deploying Hiera working directory ...") -- 2.39.5