projects
/
certmaster.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Certmaster hostname check is different than minion check
[certmaster.git]
/
certmaster
/
certmaster.py
diff --git
a/certmaster/certmaster.py
b/certmaster/certmaster.py
index
fe5dcbc
..
9ebd66b
100755
(executable)
--- a/
certmaster/certmaster.py
+++ b/
certmaster/certmaster.py
@@
-39,7
+39,7
@@
class CertMaster(object):
def __init__(self, conf_file=CERTMASTER_CONFIG):
self.cfg = read_config(conf_file, CMConfig)
def __init__(self, conf_file=CERTMASTER_CONFIG):
self.cfg = read_config(conf_file, CMConfig)
- usename = utils.get_hostname()
+ usename = utils.get_hostname(
talk_to_certmaster=False
)
mycn = '%s-CA-KEY' % usename
self.ca_key_file = '%s/funcmaster.key' % self.cfg.cadir
mycn = '%s-CA-KEY' % usename
self.ca_key_file = '%s/funcmaster.key' % self.cfg.cadir