GLPI Agent
Silent install package for GLPI Agent
1.18-3
Preprod packages are packages built on LUTI.
They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.
- package: tis-glpi-agent
- name: GLPI Agent
- version: 1.18-3
- maintainer: Simon Fonteneau
- licence: GPL-2.0
- locale: all
- target_os: redhat_based
- architecture: all
- signature_date:
- size: 1.31 Mo
- installed_size: 72.14 Mo
- homepage : https://github.com/glpi-project/glpi-agent
package : tis-glpi-agent
version : 1.18-3
architecture : all
section : base
priority : optional
name : GLPI Agent
categories :
maintainer : Simon Fonteneau
description : The GLPI Agent is a generic management agent. It can perform a certain number of tasks, according to its own execution plan, or on behalf of a GLPI server acting as a control point.
depends :
conflicts :
maturity : PREPROD
locale : all
target_os : redhat_based
min_wapt_version : 2.0
sources :
installed_size : 72138232
impacted_process :
description_fr : L'Agent GLPI est un agent de gestion générique. Il peut effectuer un certain nombre de tâches, selon son propre plan d'exécution, ou pour le compte d'un serveur GLPI faisant office de point de contrôle.
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords : glpi
licence : GPL-2.0
homepage : https://github.com/glpi-project/glpi-agent
package_uuid : 3a3fa385-d42b-4cff-86fd-00ddba3fde87
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version : 9.7
icon_sha256sum : ff336ad8093a16abe7028748cdebfd0b9e789dd85f0b38d35d3dbdadbc8b6e97
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-06-23T14:02:41.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : ouzIbCEf+U5FC4zxSC0YxiRArKz/eD1AkLaFpaKHt3XKr64yQR3Vl5OfYwn3ax3Sr6zdRFJyV8OxoC1nCnjTeDb2c8boate7lUK1F7KkfevdD40chxOMs7//1GDjSkMRY9pL0YkFNaQt5IInm+HyDxj60vgTTAVCcHvPW/+C4JKfblXM6cTvPC18V6/l/mXIutVZZFnGOga5xu4krL2a0h6+C6/ozy5max6VZh6Q7/TiqQLkKOuY5WOKqadkPiUK+tdzGAzhfIEHr7vZ7mk9QKnHuTLXhwKOYSlLCuYTFvgEqApTtb4i7p7NBB8yJoGJwOZK09GTuwHmE9YEg96rlw==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
if get_distrib_linux() == 'fedora':
install_yum(glob.glob("*.rpm")[0])
else:
run('LANG=C yum install -y epel-release' ,timeout=900)
if get_os_version().split('.')[0] == '9':
run('yum config-manager --set-enabled crb')
if get_os_version().split('.')[0] == '8':
run('dnf config-manager --set-enabled powertools')
install_rpm(glob.glob("*.rpm")[0])
def uninstall():
uninstall_yum('glpi-agent*')
autoremove_yum()
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
url_api = "https://api.github.com/repos/glpi-project/glpi-agent/releases/latest"
releases = wgets(url_api, proxies=proxies, as_json=True)
version = releases['tag_name']
os_dict = {
"windows-x64": f"GLPI-Agent-{version}-x64.msi",
"darwin-arm": f"GLPI-Agent-{version}_arm64.pkg",
"darwin-x64": f"GLPI-Agent-{version}_x86_64.pkg",
"debian_based-all": f"glpi-agent_{version}-1_all.deb",
"debian_based-all": r"^glpi-agent_.*\.deb$",
"redhat_based-all": r"^glpi-agent-%s.*\.noarch\.rpm$" % version
}
os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
version_from_url = '0'
for download in releases["assets"]:
if re.match(os_dict[os_type], download["name"]):
version_from_url_tempo = download["browser_download_url"].split(' glpi-agent-')[0].split('.noarch.rpm ')[0].replace('-','.')
if Version(version_from_url_tempo) < Version(version_from_url):
continue
version_from_url = version_from_url_tempo
download_url = download["browser_download_url"]
latest_bin = download_url.rsplit("/", 1)[-1]
latest_bin_extension = latest_bin.rsplit(".", 1)[-1]
# Downloading latest binaries
print(f"Latest {app_name} version is: {version}")
print(f"Download URL is: {download_url}")
if not isfile(latest_bin):
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
else:
print(f"latest_bin is present: {latest_bin}")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
package_updated = True
else:
print(f"Software version up-to-date ({Version(version)})")
for f in glob.glob(f'*.{latest_bin_extension}'):
if f != latest_bin:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
6f762bfaa9997f5e01fb4b800e1ae1a7ff3a7fd37dc6c8770da1b967ece76186 : WAPT/control
ff336ad8093a16abe7028748cdebfd0b9e789dd85f0b38d35d3dbdadbc8b6e97 : WAPT/icon.png
c6246be77fa0d87cb8860fc9de433dfc02b56edaaca368712d5b6267141eeee4 : WAPT/wapt.psproj
9ab19aed0589af90c6e6bd1863915e5751914cdc96d1a1067d43fd5576859a58 : glpi-agent-1.18-1.noarch.rpm
c0147f2be19ab11f2e6eb450e905e1fec896335778bf059dd1dc76c51c3f79d9 : luti.json
387ca8a8b1fda348c48bbfdf290418ab60ae03b38764e2bace4a4c2dcf7153c4 : setup.py
1c96c174a114e9a0a0f4cc9607760b797993316b0331924dd54c90fad95bb47f : update_package.py