From 607bb02f0b1b4964c25cebd5c9d3c0a2886203bd Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 28 Nov 2017 11:46:52 +0100 Subject: [PATCH] Adding info-Output --- lib/webhooks/__init__.py | 2 +- lib/webhooks/r10k.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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( -- 2.39.5