-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got around push issue, so adding rest of logstash updates
- Loading branch information
Showing
5 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ar-logstash-output-plugin/unibuild-packaging/deb/perfsonar-logstash-output-plugin.install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
plugin/logstash-output-plugin-offline-7.17.9.zip /usr/lib/perfsonar/logstash/plugin/ | ||
plugin/logstash-output-plugin-offline-8.10.4.zip /usr/lib/perfsonar/logstash/plugin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
%define install_base /usr/lib/perfsonar/ | ||
%define logstash_base %{install_base}/logstash | ||
%define plugin_base %{logstash_base}/plugin | ||
%define plugin_version 8.10.4 | ||
|
||
#Version variables set by automated scripts | ||
%define perfsonar_auto_version 5.1.0 | ||
|
@@ -39,12 +40,12 @@ rm -rf %{buildroot} | |
%post | ||
if [ "$1" = "1" ]; then | ||
#if new install, add plugin to logstash | ||
/usr/share/logstash/bin/logstash-plugin install file:%{plugin_base}/logstash-output-plugin-offline-7.17.9.zip | ||
/usr/share/logstash/bin/logstash-plugin install file:%{plugin_base}/logstash-output-plugin-offline-%{plugin_version}.zip | ||
else | ||
#if upgrade, safely remove old plugin before adding new | ||
systemctl stop logstash.service | ||
/usr/share/logstash/bin/logstash-plugin remove logstash-output-opensearch | ||
/usr/share/logstash/bin/logstash-plugin install file:%{plugin_base}/logstash-output-plugin-offline-7.17.9.zip | ||
/usr/share/logstash/bin/logstash-plugin install file:%{plugin_base}/logstash-output-plugin-offline-%{plugin_version}.zip | ||
systemctl start logstash.service | ||
fi | ||
|
||
|
@@ -59,7 +60,7 @@ fi | |
%files | ||
%defattr(0644,perfsonar,perfsonar,0755) | ||
%license LICENSE | ||
%attr(0755, logstash, logstash) %{plugin_base}/logstash-output-plugin-offline-7.17.9.zip | ||
%attr(0755, logstash, logstash) %{plugin_base}/logstash-output-plugin-offline-%{plugin_version}.zip | ||
|
||
%changelog | ||
* Sun Mar 21 2021 [email protected] 4.4.0-0.0.a1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters