Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12238998
wrapper.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
wrapper.sls
View Options
# -------------------------------------------------------------
# Salt — Provision OpenSearch
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
set
config
=
salt
[
'opensearch.get_config'
]()
%}
# -------------------------------------------------------------
# Wrapper for curl
# Admin client for OpenSearch
#
# https://opensearch.org/docs/latest/opensearch/install/important-settings/
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/usr/local/bin/es-query
:
file.managed
:
-
source
:
salt://roles/opensearch/opensearch/files/es-query.sh.jinja
-
mode
:
755
-
template
:
jinja
-
context
:
url
:
https://
{{
config
[
'network_host'
]
}}
:9200
/root/.opensearch-account
:
file.managed
:
-
source
:
salt://roles/opensearch/opensearch/files/account.conf
-
mode
:
600
-
template
:
jinja
-
show_changes
:
False
-
context
:
username
:
{{
salt
[
'credential.get_username'
](
config
[
'users'
][
'admin'
])
}}
password
:
{{
salt
[
'credential.get_password'
](
config
[
'users'
][
'admin'
])
}}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 11, 20:04 (8 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3063859
Default Alt Text
wrapper.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment