diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-03-13 09:39:51 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-03-13 09:40:08 -0400 |
commit | b6a7261c6aab12741ec52b1b152c0a84c3294e0a (patch) | |
tree | 98a598d7ccd40834d0edf6e781fb6675f89dcd17 | |
parent | fc5eb3232c2ca9479192b8fcff6e6c8c213ce291 (diff) | |
download | bcfg2-b6a7261c6aab12741ec52b1b152c0a84c3294e0a.tar.gz bcfg2-b6a7261c6aab12741ec52b1b152c0a84c3294e0a.tar.bz2 bcfg2-b6a7261c6aab12741ec52b1b152c0a84c3294e0a.zip |
added debugging about ssh_known_hosts cache invalidation to SSHbase
-rw-r--r-- | src/lib/Server/Plugins/SSHbase.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/SSHbase.py b/src/lib/Server/Plugins/SSHbase.py index 724d169f5..eb91bea39 100644 --- a/src/lib/Server/Plugins/SSHbase.py +++ b/src/lib/Server/Plugins/SSHbase.py @@ -235,6 +235,8 @@ class SSHbase(Bcfg2.Server.Plugin.Plugin, if entry.specific.match(event.filename): entry.handle_event(event) if event.filename.endswith(".pub"): + self.logger.info("New public key %s; invalidating " + "ssh_known_hosts cache" % event.filename) self.skn = False return @@ -244,6 +246,8 @@ class SSHbase(Bcfg2.Server.Plugin.Plugin, return if event.filename.endswith('.static'): + self.logger.info("Static key %s %s; invalidating ssh_known_hosts " + "cache" % (event.filename, action)) if action == "deleted" and event.filename in self.static: del self.static[event.filename] self.skn = False |