tis-puppet-agent

8.8.1-1
Puppet is a flexible, customizable framework available under the Apache 2.0 license designed to help system administrators automate the many repetitive tasks they regularly perform
702 downloads
Download
See build result See VirusTotal scan
tis-puppet-agent icon
  • package : tis-puppet-agent
  • name : Puppet Agent
  • version : 8.8.1-1
  • categories :
  • maintainer : Amel FRADJ
  • editor :
  • licence : Apache License 2.0
  • locale :
  • target_os : windows
  • impacted_process :
  • architecture : x86
  • signature_date : 2024-07-30 18:01
  • size : 40.67 Mo
  • homepage : https://www.puppet.com/community/open-source
package           : tis-puppet-agent
version           : 8.8.1-1
architecture      : x86
section           : base
priority          : optional
name              : Puppet Agent
categories        : 
maintainer        : Amel FRADJ
description       : Puppet is a flexible, customizable framework available under the Apache 2.0 license designed to help system administrators automate the many repetitive tasks they regularly perform
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Puppet est un framework flexible et personnalisable, disponible sous la licence Apache 2.0, conçu pour aider les administrateurs système à automatiser les nombreuses tâches répétitives qu'ils effectuent régulièrement
description_pl    : Puppet to elastyczny, konfigurowalny framework dostępny na licencji Apache 2.0, zaprojektowany, aby pomóc administratorom systemów zautomatyzować wiele powtarzalnych zadań, które regularnie wykonują
description_de    : Puppet ist ein flexibles, anpassbares Framework, das unter der Apache 2.0-Lizenz verfügbar ist und Systemadministratoren dabei helfen soll, die vielen sich wiederholenden Aufgaben zu automatisieren, die sie regelmäßig ausführen
description_es    : Puppet es un marco de trabajo flexible y personalizable, disponible bajo licencia Apache 2.0, diseñado para ayudar a los administradores de sistemas a automatizar las numerosas tareas repetitivas que realizan habitualmente
description_pt    : O Puppet é uma estrutura flexível e personalizável disponível sob a licença Apache 2.0, concebida para ajudar os administradores de sistemas a automatizar as muitas tarefas repetitivas que realizam regularmente
description_it    : Puppet è un framework flessibile e personalizzabile, disponibile con licenza Apache 2.0, progettato per aiutare gli amministratori di sistema ad automatizzare le numerose attività ripetitive che svolgono regolarmente
description_nl    : Puppet is een flexibel, aanpasbaar framework dat beschikbaar is onder de Apache 2.0-licentie en is ontworpen om systeembeheerders te helpen bij het automatiseren van de vele repetitieve taken die ze regelmatig uitvoeren
description_ru    : Puppet - это гибкий, настраиваемый фреймворк, доступный под лицензией Apache 2.0 и призванный помочь системным администраторам автоматизировать множество повторяющихся задач, которые они регулярно выполняют
audit_schedule    : 
editor            : 
keywords          : 
licence           : Apache License 2.0
homepage          : https://www.puppet.com/community/open-source
package_uuid      : c859b3e2-326f-4cb7-88e0-7636283b3ee3
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : e2058280317bb0fc330c0fb4de88c1d1caf6e80379182d48d4929fe8db34dfe5
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : u+fRhkWI2qZq9zzOpKeHrTqcVdIQ34nu84CV+CyI9DcvkZYEzDZ5joc+IDGtoI1ws8VtBSD2J08OFih2g+itzBzzl7eiw0h+nt6Q+E/yWa6kesXGeA4oFpPOEtjCKMXuMgpXIUYCmywpZxIYuMJO5r9c70vfZwOdJ2zat2VdG3i6bOhuN5FFW7proO3mNL0vjquvZ/ysfWLPzrsu7l7W31e5eKgomh8/6D6c3WVpKlExjXb4vQqwBb6z7q+wOGofwZRClE2Mw/gPQnOgPO9PZJsAG5+Z6zKk1T3HiWkikV+mTbnGIn49zISNGbEis0fIGK6coF5F4wX6jCRNKKkFhA==
signature_date    : 2024-07-30T18:01:03.678448
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
# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('puppet-agent-*-x86.msi')[0]
    # Installing the software
    install_msi_if_needed(bin_name)



from setuphelpers import *
import json
import re
import requests


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

    # Getting latest version from official sources
    re_versions = re.compile(r'puppet-agent-(\d+\.\d+\.\d+)-x86\.msi')
    index = wgets("https://downloads.puppet.com/windows/puppet8", proxies=proxies)

    # Recherche de la dernière version dans le contenu de la page
    versions = re_versions.findall(index)
    if versions:
        latest_version = sorted(versions, key=lambda v: Version(v), reverse=True)[0]
        latest_bin = f"puppet-agent-{latest_version}-x86.msi"
        download_url = f"https://downloads.puppet.com/windows/puppet8/{latest_bin}"

        # Vérification si le fichier existe
        if not requests.head(download_url, proxies=proxies).status_code != 404:
            version = latest_version            

    # remove files
    for f in glob.glob("*.msi"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    wget(download_url, latest_bin, proxies=proxies)

    version =get_version_from_binary(latest_bin)
    control.set_software_version(version)
    control.save_control_to_wapt()
4a512086c3804633e9c0305ef2b871d900c4e711db4c01a96eec67ca01206539 : setup.py
 : __pycache__
a98042f66aefee7468c49bb805a342632a0cbdd04a4367a5ffd215622f929999 : update_package.py
6e8a0f0e72139984d48204e1242ed0d47025b8f686649ee18ae89bdc80a8f8c3 : puppet-agent-8.8.1-x86.msi
e2058280317bb0fc330c0fb4de88c1d1caf6e80379182d48d4929fe8db34dfe5 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
8c278e88e4b3502a8ee4e720650594fff7bae6a8dec78724ce2b5e955b79daca : luti.json
fc8b3e61baae2879a4d50f302ce3c036b408e51fb219973d75c979fceb041e54 : WAPT/control