From: Frank Brehm Date: Tue, 28 Nov 2017 10:46:52 +0000 (+0100) Subject: Adding info-Output X-Git-Tag: 0.8.4~1 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=607bb02f0b1b4964c25cebd5c9d3c0a2886203bd;p=pixelpark%2Fpuppetmaster-webhooks.git Adding info-Output --- diff --git a/lib/webhooks/__init__.py b/lib/webhooks/__init__.py index 299156b..9281c23 100644 --- a/lib/webhooks/__init__.py +++ b/lib/webhooks/__init__.py @@ -1,6 +1,6 @@ #!/bin/env python3 # -*- coding: utf-8 -*- -__version__ = '0.7.1' +__version__ = '0.7.2' # vim: ts=4 et list diff --git a/lib/webhooks/r10k.py b/lib/webhooks/r10k.py index aa7e4fe..38b64f4 100644 --- a/lib/webhooks/r10k.py +++ b/lib/webhooks/r10k.py @@ -188,6 +188,9 @@ class R10kHookApp(BaseHookApp): LOG.info("Environment directory {!r} does not exists.".format(self.env_dir)) return + LOG.info("Clearing environment cache for env {!r} on {!r}.".format( + self.ref, self.puppetmaster_host)) + key_file = os.path.join( self.puppetmaster_ssl_dir, 'private_keys', self.puppetmaster_host + '.pem') cert_file = os.path.join(