def cert_base_path(cacert_path=None):
 if (not cacert_path):
  cacert_path = __context__.get('ca.contextual_cert_base_path', __salt__['config.option']('ca.contextual_cert_base_path'))
 if (not cacert_path):
  cacert_path = __context__.get('ca.cert_base_path', __salt__['config.option']('ca.cert_base_path'))
 return cacert_path

def cert_base_path ( cacert_path = None ) : if ( not cacert_path ) : cacert_path = __context__ . get ( 'ca.contextual_cert_base_path' , __salt__ [ 'config.option' ] ( 'ca.contextual_cert_base_path' ) ) if ( not cacert_path ) : cacert_path = __context__ . get ( 'ca.cert_base_path' , __salt__ [ 'config.option' ] ( 'ca.cert_base_path' ) ) return cacert_path
return the base path for certs from cli or from options cacert_path absolute path to ca certificates root directory cli example: .