Page MenuHomeDevCentral

es-query.sh.jinja
No OneTemporary

es-query.sh.jinja

#!/bin/sh
# -------------------------------------------------------------
# OpenSearch wrapper
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/opensearch/opensearch/files/es-query.sh.jinja
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
OPENSEARCH_ACCOUNT=$(cat $HOME/.opensearch-account)
COMMAND=$1
shift
curl {{ url }}/$COMMAND -u $OPENSEARCH_ACCOUNT -k "$@"

File Metadata

Mime Type
text/x-shellscript
Expires
Fri, Feb 28, 21:45 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2435936
Default Alt Text
es-query.sh.jinja (742 B)

Event Timeline