summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-05-20 02:26:22 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-05-20 02:26:22 +0000
commit90f49f8b1ba062f83cd7a85f2b219469242579b2 (patch)
tree2ac7a7a7a3320273922d21fa1251d1d3097cbad1 /src/lib
parentbbfcb5925f70af255da2c8761b490600b63be777 (diff)
downloadbcfg2-90f49f8b1ba062f83cd7a85f2b219469242579b2.tar.gz
bcfg2-90f49f8b1ba062f83cd7a85f2b219469242579b2.tar.bz2
bcfg2-90f49f8b1ba062f83cd7a85f2b219469242579b2.zip
Log auth changes for bootstrap mode
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5247 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugins/Metadata.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py
index de0a68df1..bf943f349 100644
--- a/src/lib/Server/Plugins/Metadata.py
+++ b/src/lib/Server/Plugins/Metadata.py
@@ -523,6 +523,7 @@ class Metadata(Bcfg2.Server.Plugin.Plugin,
'''Hook into statistics interface to toggle clients in bootstrap mode'''
client = meta.hostname
if client in self.auth and self.auth[client] == 'bootstrap':
+ self.logger.info("Asserting client %s auth mode to cert" % client)
cli = self.clientdata_original.xpath('.//Client[@name="%s"]' \
% (client))
cli[0].set('auth', 'cert')