From: Frank Brehm Date: Fri, 10 Feb 2017 15:30:38 +0000 (+0100) Subject: Bugfixing X-Git-Tag: 0.8.4~39 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=883708d063220e9b89970bcbbcd7289cc582c171;p=pixelpark%2Fpuppetmaster-webhooks.git Bugfixing --- 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 ...")