Merge pull request #8763 from gravyboat/develop

Additional example for the tls module
This commit is contained in:
Pedro Algarvio 2013-11-23 00:11:08 -08:00
commit fde380c17e

View File

@ -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)):