projects
/
certmaster.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
be a bit more verbose in the logging here, add file location info to logs
[certmaster.git]
/
certmaster
/
utils.py
diff --git
a/certmaster/utils.py
b/certmaster/utils.py
index
6881558
..
eec3d2b
100755
(executable)
--- a/
certmaster/utils.py
+++ b/
certmaster/utils.py
@@
-182,7
+182,7
@@
def create_minion_keys():
if result:
# print "DEBUG: recieved certificate from certmaster"
if result:
# print "DEBUG: recieved certificate from certmaster"
- log.debug("received certificate from certmaster %s, storing
" % master_uri
)
+ log.debug("received certificate from certmaster %s, storing
to %s" % (master_uri, cert_file)
)
cert_fd = os.open(cert_file, os.O_RDWR|os.O_CREAT, 0644)
os.write(cert_fd, cert_string)
os.close(cert_fd)
cert_fd = os.open(cert_file, os.O_RDWR|os.O_CREAT, 0644)
os.write(cert_fd, cert_string)
os.close(cert_fd)