Various minor cleanups and fixes (#938)
* Documentation fixes * Various docstring and help string fixes * Minor code cleanups * Removed redundant .gitignore entry, ignored package-lock.json. * 'return' statement in certificates.service.render was redundant * Split up too long line * Non-matching tags in templates
This commit is contained in:
@@ -101,7 +101,7 @@ class IPlugin(local):
|
||||
Returns a list of tuples pointing to various resources for this plugin.
|
||||
>>> def get_resource_links(self):
|
||||
>>> return [
|
||||
>>> ('Documentation', 'http://lemury.readthedocs.org'),
|
||||
>>> ('Documentation', 'https://lemur.readthedocs.io'),
|
||||
>>> ('Bug Tracker', 'https://github.com/Netflix/lemur/issues'),
|
||||
>>> ('Source', 'https://github.com/Netflix/lemur'),
|
||||
>>> ]
|
||||
|
@@ -98,7 +98,7 @@ def get_all_elbs_v2(**kwargs):
|
||||
@retry(retry_on_exception=retry_throttled, stop_max_attempt_number=7, wait_exponential_multiplier=1000)
|
||||
def get_listener_arn_from_endpoint(endpoint_name, endpoint_port, **kwargs):
|
||||
"""
|
||||
Get a listener ARN from a endpoint.
|
||||
Get a listener ARN from an endpoint.
|
||||
:param endpoint_name:
|
||||
:param endpoint_port:
|
||||
:return:
|
||||
|
@@ -62,7 +62,7 @@ class LinuxDstPlugin(DestinationPlugin):
|
||||
"name": "exportType",
|
||||
"required": True,
|
||||
"value": "NGINX",
|
||||
"helpMessage": "Reference the docs for an explaination of each export type",
|
||||
"helpMessage": "Reference the docs for an explanation of each export type",
|
||||
"type": "select"
|
||||
}
|
||||
]
|
||||
|
@@ -19,7 +19,7 @@ def copy_cert(cert_cn, dst_user, dst_priv, dst_priv_key, dst_host, dst_port, dst
|
||||
sftp = ssh.open_sftp()
|
||||
|
||||
# make the directory on the destination server
|
||||
# files will be in a a folder based on the cert_cn
|
||||
# files will be in a folder based on the cert_cn
|
||||
# example:
|
||||
# destination folder: /etc/nginx/certs/
|
||||
# files will go in: /etc/nginx/certs/your.cn.com/cert.pem
|
||||
|
@@ -98,7 +98,7 @@ class OpenSSLExportPlugin(ExportPlugin):
|
||||
'name': 'passphrase',
|
||||
'type': 'str',
|
||||
'required': False,
|
||||
'helpMessage': 'If no passphrase is given one will be generated for you, we highly recommend this. Minimum length is 8.',
|
||||
'helpMessage': 'If no passphrase is given one will be generated for you, we highly recommend this.',
|
||||
'validation': ''
|
||||
},
|
||||
{
|
||||
@@ -111,7 +111,7 @@ class OpenSSLExportPlugin(ExportPlugin):
|
||||
|
||||
def export(self, body, chain, key, options, **kwargs):
|
||||
"""
|
||||
Generates a Java Keystore or Truststore
|
||||
Generates a PKCS#12 archive.
|
||||
|
||||
:param key:
|
||||
:param chain:
|
||||
|
Reference in New Issue
Block a user