Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #24119: GLPI plugin fails to send inventory #665

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions glpi/bin/glpi-plugin
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -eo pipefail
readonly ACTION="$1"
set -u
readonly INVENTORIES_DIR=/var/rudder/inventories/received
readonly GLPI_FUSION_URL=$(sed -e "/GLPI_FUSION_URL/s/^.*=//" /opt/rudder/etc/glpi.conf)
readonly PATCH_FQDN=$(sed -e "/PATCH_FQDN/s/^.*=//" /opt/rudder/etc/glpi.conf)
readonly GLPI_FUSION_URL=$(sed -ne "/GLPI_FUSION_URL/s/^.*=//p" /opt/rudder/etc/glpi.conf)
readonly PATCH_FQDN=$(sed -ne "/PATCH_FQDN/s/^.*=//p" /opt/rudder/etc/glpi.conf)


send_inventory()
Expand Down