Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
public-items
ansible-sc_pack-public
Commits
de90fdec
Commit
de90fdec
authored
Jul 15, 2020
by
Carlos Torres
Browse files
Minor change in grok_exporter.
parent
4adb96ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/update_grok_exporter_config/files/updating_grok_exporter_config.sh
View file @
de90fdec
...
...
@@ -13,7 +13,7 @@ FOLDERSUPERVISOR="/supervisor"
for
INSTALLDIR
in
$INSTALLDIRS
do
if
!
grep
-Fq
"
$INSTALLDIR$FILESUPERVISORDALL
"
"
$FILE
"
;
then
if
[
-
f
"
$INSTALLDIR$FOLDERSUPERVISOR
"
]
;
then
if
[
-
d
"
$INSTALLDIR$FOLDERSUPERVISOR
"
]
;
then
sed
-i
-e
'/#to-add-entries/r '
$INSTALLERS_DIR
'/data/grok_exporter_single_conf.txt'
$FILE
sed
-i
'/#to-add-paths/ a \ \-\ \'
$INSTALLDIR$FILESUPERVISORDALL
$FILE
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment