]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Bugfixing
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 10 Feb 2017 15:30:38 +0000 (16:30 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 10 Feb 2017 15:30:38 +0000 (16:30 +0100)
lib/webhooks/deploy.py

index e2a407f916368805e29a0d9c61823ebad6e68bb6..1552a4b3a9332d271ca193586f6991c2e30eb27e 100644 (file)
@@ -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 ...")