X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fspecialaccounts.py;h=1fa15e1e536026cfcd8bbba6d1b06c5cbd9dc85d;hb=74a8cfb9d2eac39ae02e5323e1fb5b1d33297981;hp=9396062632763c69fb3df50aec3a4fbafc9d1e22;hpb=3224c1906c82596a86ae734181488ed14a0f0976;p=nodemanager.git diff --git a/plugins/specialaccounts.py b/plugins/specialaccounts.py index 9396062..1fa15e1 100644 --- a/plugins/specialaccounts.py +++ b/plugins/specialaccounts.py @@ -23,11 +23,11 @@ import logger import tools def start(options, conf): - logger.log("personkeys plugin starting up...") + logger.log("personkeys: plugin starting up...") def GetSlivers(data, conf = None, plc = None): if 'accounts' not in data: - logger.log("specialaccounts: No account information found. DISABLED!") + logger.log_missing_data("specialaccounts.GetSlivers",'accounts') return for account in data['accounts']: @@ -45,7 +45,7 @@ def GetSlivers(data, conf = None, plc = None): if not os.access(dot_ssh, os.F_OK): os.mkdir(dot_ssh) auth_keys = os.path.join(dot_ssh,'authorized_keys') - logger.log("new keys = %s" % auth_keys) + logger.log("specialaccounts: new keys = %s" % auth_keys) fd, fname = tempfile.mkstemp('','authorized_keys',dot_ssh) for key in new_keys: