mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #8763 from gravyboat/develop
Additional example for the tls module
This commit is contained in:
commit
fde380c17e
@ -455,6 +455,12 @@ def create_self_signed_cert(
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' tls.create_self_signed_cert
|
||||
|
||||
Passing options from the command line:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt 'minion' tls.create_self_signed_cert CN='test.mysite.org'
|
||||
'''
|
||||
|
||||
if not os.path.exists('{0}/{1}/certs/'.format(_cert_base_path(), tls_dir)):
|
||||
|
Loading…
Reference in New Issue
Block a user