From 0579b2935c555a9763b3d93be2ce2f0f8ccb7423 Mon Sep 17 00:00:00 2001 From: Zach Seils Date: Thu, 26 Apr 2018 12:39:42 -0400 Subject: [PATCH 1/2] Print variable value instead of name (#1227) * Print variable value instead of name * Fixed ordering and variable name for stdout string --- lemur/manage.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lemur/manage.py b/lemur/manage.py index 655b1827..919f70e4 100755 --- a/lemur/manage.py +++ b/lemur/manage.py @@ -237,9 +237,6 @@ class InitializeApp(Command): else: sys.stdout.write("[-] Default user has already been created, skipping...!\n") - sys.stdout.write("[+] Creating expiration email notifications!\n") - sys.stdout.write("[!] Using {0} as specified by LEMUR_SECURITY_TEAM_EMAIL for notifications\n".format("LEMUR_SECURITY_TEAM_EMAIL")) - intervals = current_app.config.get("LEMUR_DEFAULT_EXPIRATION_NOTIFICATION_INTERVALS", []) sys.stdout.write( "[!] Creating {num} notifications for {intervals} days as specified by LEMUR_DEFAULT_EXPIRATION_NOTIFICATION_INTERVALS\n".format( @@ -249,6 +246,8 @@ class InitializeApp(Command): ) recipients = current_app.config.get('LEMUR_SECURITY_TEAM_EMAIL') + sys.stdout.write("[+] Creating expiration email notifications!\n") + sys.stdout.write("[!] Using {0} as specified by LEMUR_SECURITY_TEAM_EMAIL for notifications\n".format(recipients)) notification_service.create_default_expiration_notifications("DEFAULT_SECURITY", recipients=recipients) _DEFAULT_ROTATION_INTERVAL = 'default' From 858c4eb8089236895f397b1d94cfa30f1f7fbcc6 Mon Sep 17 00:00:00 2001 From: "Zach Seils (seils)" Date: Fri, 27 Apr 2018 08:46:11 -0400 Subject: [PATCH 2/2] Add code coverage badge to README --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index 9582f756..91f244b3 100644 --- a/README.rst +++ b/README.rst @@ -14,6 +14,10 @@ Lemur .. image:: https://travis-ci.org/Netflix/lemur.svg :target: https://travis-ci.org/Netflix/lemur +.. image:: https://coveralls.io/repos/github/Netflix/lemur/badge.svg?branch=master + :target: https://coveralls.io/github/Netflix/lemur?branch=master + + Lemur manages TLS certificate creation. While not able to issue certificates itself, Lemur acts as a broker between CAs and environments providing a central portal for developers to issue TLS certificates with 'sane' defaults.