Bonjour,
j'avais à l'époque déployé un paquet nommé logiciel-wapt.
Pour le désinstaller sur tous les postes, j'ai créé un deuxième paquet remove-logiciel-wapt, qui fait bien son travail.
Pour finir le travail, comment je fais pour supprimer logiciel-wapt de la base local de mon client WAPT ? Car il le considère comme toujours installé... J'ai essayé : - run(r'wapt-get remove logiciel-wapt -f') dans le python mais ça ne fonctionne pas - de mettre logiciel-wapt dans le paramètre confilct du fichier de control mais ça ne fais pas ce que je souhaite
Il y a peut-être une commande dont je n'ai pas connaissance qui permet directement d'agir dans la BDD local du client pour supprimer une entrée ?
Merci.
Sébastien Service Informatique Mairie de Challans
Bonjour,
Ton approche n'est pas la bonne. Dans tout paquet wapt (le code python), il faut prévoir une section uninstall. Pour te sortir de la situation présente, il y a heureusement la commande :
wapt-get forget nom-paquet
Le 30/06/2016 09:54, informatique a écrit :
Bonjour,
j'avais à l'époque déployé un paquet nommé *logiciel-wapt*.
Pour le désinstaller sur tous les postes, j'ai créé un deuxième paquet *remove-logiciel-wapt*, qui fait bien son travail.
Pour finir le travail, comment je fais pour supprimer *logiciel-wapt* de la base local de mon client WAPT ? Car il le considère comme toujours installé... J'ai essayé :
- run(r'wapt-get remove logiciel-wapt -f') dans le python mais ça ne
fonctionne pas
- de mettre logiciel-wapt dans le paramètre confilct du fichier de
control mais ça ne fais pas ce que je souhaite
Il y a peut-être une commande dont je n'ai pas connaissance qui permet directement d'agir dans la BDD local du client pour supprimer une entrée ?
Merci.
Sébastien Service Informatique Mairie de Challans
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour Johann,
je connais la section uninstall(), j'en ai même une dans mon paquet initial logiciel-wapt.
Mais comment fait-on alors pour suppimer un paquet sur l'ensemble de son parc ? sachant que tous les postes de mon parc ne l'on pas. A partir de la console, au mieux j'avais enlevé la dépendance à ce paquet mais ça ne le supprime pas.
La commande wapt-get forget logiciel-wapt est celle que je cherchais, je vais essayer de la mettre directement dans le python avec un run.
Merci.
Sébastien Service Informatique Mairie de Challan
LECLERCQ Johann johann.leclercq@culture.gouv.fr écrit:
Bonjour,
Ton approche n'est pas la bonne. Dans tout paquet wapt (le code python), il faut prévoir une section uninstall. Pour te sortir de la situation présente, il y a heureusement la commande :
wapt-get forget nom-paquet
Le 30/06/2016 09:54, informatique a écrit :
Bonjour,
j'avais à l'époque déployé un paquet nommé logiciel-wapt.
Pour le désinstaller sur tous les postes, j'ai créé un deuxième paquet remove-logiciel-wapt, qui fait bien son travail.
Pour finir le travail, comment je fais pour supprimer logiciel-wapt de la base local de mon client WAPT ? Car il le considère comme toujours installé... J'ai essayé :
- run(r'wapt-get remove logiciel-wapt -f') dans le python mais ça ne fonctionne pas
- de mettre logiciel-wapt dans le paramètre confilct du fichier de control mais ça ne fais pas ce que je souhaite
Il y a peut-être une commande dont je n'ai pas connaissance qui permet directement d'agir dans la BDD local du client pour supprimer une entrée ?
Merci.
Sébastien Service Informatique Mairie de Challans
_______________________________________________WAPT mailing list[ mailto:WAPT@lists.tranquil.it ]WAPT@lists.tranquil.it[ http://lists.tranquil.it/listinfo/wapt ]http://lists.tranquil.it/listinfo/wapt
-- Cordialement,LECLERCQ JohannResponsable Informatique et AQSSI de la DRAC Pays de la LoireMinistère de la Culture et de la CommunicationTel.:02-40-14-28-00P .:06-78-39-63-76-- Koan du jourJour après jour, c'est un bon jour.
-Merci de nous aider à préserver l'environnement en n'imprimant ce courriel et les documents joints que si nécessaire.
Bonjour,
Si vous avez un mécanisme permettant d'exécuter une commande sur tous les postes de votre parc (psexec ou autre), vous pouvez lancer un wapt-get remove mon-paquet.
Sinon, dans un paquet WAPT, vous pouvez installer/supprimer/oublier des paquets (entre autre) :
WAPT.install('mon-paquet', force=WAPT.options.force) WAPT.remove('mon-paquet', force=WAPT.options.force) WAPT.forget_packages('mon-paquet')
Voir http://dev.tranquil.it/sphinxdocs/source/common.html?highlight=common.wapt#c...
Cordialement, Bastien
Le 30/06/2016 à 10:54, informatique a écrit :
Bonjour Johann,
je connais la section uninstall(), j'en ai même une dans mon paquet initial logiciel-wapt.
Mais comment fait-on alors pour suppimer un paquet sur l'ensemble de son parc ? sachant que tous les postes de mon parc ne l'on pas. A partir de la console, au mieux j'avais enlevé la dépendance à ce paquet mais ça ne le supprime pas.
La commande wapt-get forget logiciel-wapt est celle que je cherchais, je vais essayer de la mettre directement dans le python avec un run.
Merci.
Sébastien Service Informatique Mairie de Challan
*LECLERCQ Johann <johann.leclercq@culture.gouv.fr mailto:johann.leclercq@culture.gouv.fr> écrit:* Bonjour,
Ton approche n'est pas la bonne. Dans tout paquet wapt (le code python), il faut prévoir une section uninstall. Pour te sortir de la situation présente, il y a heureusement la commande :
wapt-get forget nom-paquet
Le 30/06/2016 09:54, informatique a écrit :
Bonjour,
j'avais à l'époque déployé un paquet nommé *logiciel-wapt*.
Pour le désinstaller sur tous les postes, j'ai créé un deuxième paquet *remove-logiciel-wapt*, qui fait bien son travail.
Pour finir le travail, comment je fais pour supprimer *logiciel-wapt* de la base local de mon client WAPT ? Car il le considère comme toujours installé... J'ai essayé :
- run(r'wapt-get remove logiciel-wapt -f') dans le python mais ça ne
fonctionne pas
- de mettre logiciel-wapt dans le paramètre confilct du fichier de
control mais ça ne fais pas ce que je souhaite
Il y a peut-être une commande dont je n'ai pas connaissance qui permet directement d'agir dans la BDD local du client pour supprimer une entrée ?
Merci.
Sébastien Service Informatique Mairie de Challans
_______________________________________________WAPT mailing listWAPT@lists.tranquil.it mailto:WAPT@lists.tranquil.ithttp://lists.tranquil.it/listinfo/wapt
-- Cordialement,LECLERCQ JohannResponsable Informatique et AQSSI de la DRAC Pays de la LoireMinistère de la Culture et de la CommunicationTel.:02-40-14-28-00P .:06-78-39-63-76-- Koan du jourJour après jour, c'est un bon jour.
Merci de nous aider à préserver l'environnement en n'imprimant ce courriel et les documents joints que si nécessaire.
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Créer un paquet
def install(): *WAPT.forget*(' remove-logiciel-wapt')
la variable WAPT (majuscule) contient l'instance du moteur Wapt en cours de fonctionnement.
Le 30/06/2016 à 09:54, informatique a écrit :
Bonjour,
j'avais à l'époque déployé un paquet nommé *logiciel-wapt*.
Pour le désinstaller sur tous les postes, j'ai créé un deuxième paquet *remove-logiciel-wapt*, qui fait bien son travail.
Pour finir le travail, comment je fais pour supprimer *logiciel-wapt* de la base local de mon client WAPT ? Car il le considère comme toujours installé... J'ai essayé :
- run(r'wapt-get remove logiciel-wapt -f') dans le python mais ça ne
fonctionne pas
- de mettre logiciel-wapt dans le paramètre confilct du fichier de
control mais ça ne fais pas ce que je souhaite
Il y a peut-être une commande dont je n'ai pas connaissance qui permet directement d'agir dans la BDD local du client pour supprimer une entrée ?
Merci.
Sébastien Service Informatique Mairie de Challans
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Merci Hubert,
oui, je viens d'utiliser cette fonction et ça fonctionne parfaitement c'est ce que je cherchais. Elle va reservir car bien pratique pour corriger des installations de paquets !
Hubert TOUVET htouvet@tranquil.it écrit:
Créer un paquet
def install(): WAPT.forget(' remove-logiciel-wapt')
la variable WAPT (majuscule) contient l'instance du moteur Wapt en cours de fonctionnement.
Le 30/06/2016 à 09:54, informatique a écrit :
Bonjour,
j'avais à l'époque déployé un paquet nommé logiciel-wapt.
Pour le désinstaller sur tous les postes, j'ai créé un deuxième paquet remove-logiciel-wapt, qui fait bien son travail.
Pour finir le travail, comment je fais pour supprimer logiciel-wapt de la base local de mon client WAPT ? Car il le considère comme toujours installé... J'ai essayé :
- run(r'wapt-get remove logiciel-wapt -f') dans le python mais ça ne fonctionne pas
- de mettre logiciel-wapt dans le paramètre confilct du fichier de control mais ça ne fais pas ce que je souhaite
Il y a peut-être une commande dont je n'ai pas connaissance qui permet directement d'agir dans la BDD local du client pour supprimer une entrée ?
Merci.
Sébastien Service Informatique Mairie de Challans
_______________________________________________WAPT mailing list[ mailto:WAPT@lists.tranquil.it ]WAPT@lists.tranquil.it[ http://lists.tranquil.it/listinfo/wapt ]http://lists.tranquil.it/listinfo/wapt
Bonjour
Le certificat ayant une durée de validité limitée, je souhaite mettre en place un nouveau certificat.
Que ce passe-il quant on doit mettre à jour le certificat d'un serveur ?
Meilleurs vœux.