Move Output to ES

This commit is contained in:
Josh Brower
2023-02-27 09:58:43 -05:00
parent aed41404fc
commit f7176f9989
4 changed files with 17 additions and 1 deletions

View File

@@ -84,6 +84,11 @@ printf '%s\n'\
" url: '{{ GLOBALS.manager_ip }}'"\
"" >> "$pillar_file"
#Store Grid Nodes Enrollment token in Global pillar
global_pillar_file=/opt/so/saltstack/local/pillar/soc_global.sls
printf '%s\n'\
" fleet_grid_enrollment_token: '$GRIDNODESENROLLMENTOKEN'"\
"" >> "$global_pillar_file"
# Call Elastic-Fleet Salt State
salt-call state.apply elastic-fleet queue=True