HomePhorge

(#13645) Add test cases to tagmail_spec
a281c4808e20Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#13645) Add test cases to tagmail_spec

If puppet is configured to use tagmail as a report, it should not send
an email if no message match any tag in tagmail.conf

The former behaviour was that puppet opened an smtp connection, did not
send any mail and then closed the connection again leading to errors on
the smtp server. The added tests now prove that the send method is never
even called when no message match any positive tag.

Details

Provenance
Stefan Schulte <stefan.schulte@taunusstein.net>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf6ac1bbda292: (#13645) Do not open a smtp connection if nothing to report
Branches
Unknown
Tags
Unknown

Event Timeline

Stefan Schulte <stefan.schulte@taunusstein.net> committed rPUa281c4808e20: (#13645) Add test cases to tagmail_spec (authored by Stefan Schulte <stefan.schulte@taunusstein.net>).Apr 17 2012, 12:19 AM