mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
commit
cb0f80831f
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ def apply_(path, id_=None, config=None, approve_key=True, install=True,
|
|||
pki_dir = minion_config['pki_dir']
|
||||
if not os.path.isdir(os.path.join(mpt, pki_dir.lstrip('/'))):
|
||||
__salt__['file.makedirs'](
|
||||
os.path.join(mpt, pki_dir.lstrip('/'))
|
||||
os.path.join(mpt, pki_dir.lstrip('/'), '')
|
||||
)
|
||||
os.rename(cfg_files['privkey'], os.path.join(
|
||||
mpt, pki_dir.lstrip('/'), 'minion.pem'))
|
||||
|
|
Loading…
Add table
Reference in a new issue