[Wapt] Sortie de WAPT-1.1.1

Hubert TOUVET htouvet at tranquil.it
Fri Feb 27 11:01:00 CET 2015


tu penses à quelque chose comme ça :

# -*- coding: utf-8 -*-
*from *setuphelpers *import **
uninstallkey = []

*def *install():
     server = 
inifile_readstring(WAPT.config_filename,'global','wapt_server')
*print*("Serveur actuel :%s" % server)
*if *server:
        new_server = 
server.replace('http://','https://').replace(':8080','')
*if *new_server != server:
*print*("Nouvelle URL de wapt_server: %s" % new_server)
inifile_writestring(WAPT.config_filename,'global','wapt_server',new_server)
*else*:
*print*("Pas de changement")



Oui, possible de créer un paquet "groupe" dans la console :


Activer le mode avancé par un clic droit sur entête et choix "mode avancé:


Ce la fait apparaître l'onglet "setup.py"


Mettre le code dans install()



Enregistrer le paquet.
Puis l'ajouter en dépendance à un paquet "base" que vous auriez déjà sur 
toutes les machines (conseillé...)



ou sélectionner toutes les machines et l'ajouter en dépendance aux machines








Le 26/02/2015 20:48, Simon Fonteneau a écrit :
> Pour les paramètres  wapt-get.ini
>
> Pourquoi ne pas créer un paquet wapt de fixup du style:
>
>  chaine.replace("wapt_server=http", "wapt_server=https://")
>
> etc ...
>
> Simon
>
>
> Le 26/02/2015 18:23, Jérémie Courrèges-Anglas a écrit :
>> (Re)Bonjour,
>>
>> wapt-1.1.1 est désormais disponible au téléchargement :
>>
>>    http://wapt.tranquil.it/wapt/releases/wapt-1.1.1/
>>
>> Voici un résumé des principaux changements intervenus dans cette 
>> release : http://dev.tranquil.it/wiki/WAPT/ReleaseNotes#WAPT-1.1.1
>> Merci à tous pour vos retours d'expérience et suggestions. Merci tout 
>> particulièrement à Simon Fonteneau !
>>
>>
>> Enfin, n'oubliez pas que nous proposons des prestations autour de Wapt :
>> formation, paquets personnalisés, installation initiale, maintenance et
>> mises à jour.
>>
>> http://www.tranquil-it-systems.fr/les-produits-tranquil-systems/deploiement-de-logiciel-windows/
>>
>>
>> Librement,
>>
>
> _______________________________________________
> WAPT mailing list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150227/125241b2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: egejgiab.png
Type: image/png
Size: 8191 bytes
Desc: not available
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150227/125241b2/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jaibaigd.png
Type: image/png
Size: 9117 bytes
Desc: not available
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150227/125241b2/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: egbdagff.png
Type: image/png
Size: 25881 bytes
Desc: not available
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150227/125241b2/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: afbjejej.png
Type: image/png
Size: 16289 bytes
Desc: not available
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150227/125241b2/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ijcdhcdd.png
Type: image/png
Size: 9507 bytes
Desc: not available
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150227/125241b2/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdgceejc.png
Type: image/png
Size: 6080 bytes
Desc: not available
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150227/125241b2/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edbfccef.png
Type: image/png
Size: 11619 bytes
Desc: not available
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150227/125241b2/attachment-0013.png>


More information about the WAPT mailing list