projects
/
certmaster.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
catch syntax/logic issue correctly -> thanks to greg
[certmaster.git]
/
certmaster
/
utils.py
diff --git
a/certmaster/utils.py
b/certmaster/utils.py
index
968d697
..
02c28e0
100644
(file)
--- a/
certmaster/utils.py
+++ b/
certmaster/utils.py
@@
-139,7
+139,7
@@
def create_minion_keys(hostname=None):
raise codes.CMException("Could not determine a hostname other than localhost")
else:
# use lowercase letters for hostnames
raise codes.CMException("Could not determine a hostname other than localhost")
else:
# use lowercase letters for hostnames
- h
ostname = hostname
.lower()
+ h
n = hn
.lower()
key_file = '%s/%s.pem' % (cert_dir, hn)
csr_file = '%s/%s.csr' % (cert_dir, hn)
key_file = '%s/%s.pem' % (cert_dir, hn)
csr_file = '%s/%s.csr' % (cert_dir, hn)