We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be607bc commit 07b2c49Copy full SHA for 07b2c49
roles/adobe/roles/aac/roles/aws/tools/recipes/patch-splunk-ssl.bash
@@ -0,0 +1,18 @@
1
+#!/bin/bash -e
2
+
3
+function main()
4
+{
5
+ local -r attributeFile="${1}"
6
7
+ local -r appPath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
8
+ local -r command="sudo chef-client -o \"recipe[splunkforwarder]\" &&
9
+ sudo tail -2 '/opt/splunkforwarder/etc/auth/adobe_certs/indexer_root.crt' &&
10
+ sudo tail -2 '/opt/splunkforwarder/etc/auth/adobe_certs/indexer_ssl.crt'"
11
12
+ "${appPath}/../../../../../../../../tools/run-remote-command.bash" \
13
+ --attribute-file "${attributeFile}" \
14
+ --command "${command}" \
15
+ --machine-type 'masters'
16
+}
17
18
+main "${@}"
0 commit comments