Changes 1.2.3 -> 1.3.4-rc2

Setuphelpers :

Additional functions :
Changes :

Core

Waptconsole


Waptservice


Waptupgrade

Wapt-get


Waptserver

RPM package for waptserver on centos
use huey task pool in waptserver instead of uwsgi for portability
Fix waptserverpostconf not able to restart local waptservice properly

Global

python upgraded to 2.7.10
many libraries upgraded (openssl, m2crypto, flask, psutils, etc...)

Upgrade from 1.2.3

Linux server upgrade
With a server on Linux :
ssh on waptserver
cd
wget http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptrepo-1.3.4.deb
wget http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptserver-1.3.4.deb
wget http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/tis-waptsetup-1.3.4.deb
dpkg -i tis-wapt*.deb
apt-get -f install
wapt-serverpostconf
-> default answer to all questions.

Windows server upgrade

Download http://wapt.tranquil.it/wapt/nightly/1.3.4-rc2/waptserversetup.exe
Install with admin rights.
Launch server postconfiguration (obviously, don't recreate a new new private key...)
Don't create waptagent from waptserverpostconf but use waptconsole option which provide waptagent and waptupgrade package. waptserverpostconf creates only the waptagent.

Wapt management host upgrade

on the wapt manage workstation (where the private key is defined)
download http://wapt/wapt/waptsetup-tis.exe from waptserver
install with default options

Build clients upgrade package

launch c:\wapt\waptconsole
tools/Build waptagent
 -> build the waptagent.exe and xxx-waptupgrade.wapt package and uplaod them to wapt server.

include the built xxx-waptupgrade package in your base group package or as a dependency of all host packages
trigger upgrade on hosts

GPO update

copy waptdeploy.exe to the gp
modify your waptdeploy GPO to include --hash= with the hash defined in c:\wapt\waptupgrade\waptagent.sha256 and a --wait=15 for example.
\\srvads\netlogon\waptdeploy.exe --hash=5b5988012033e534b5352050bff7dece4840456225787b39dc1d00dfb9e75cd8
(you can get this on linux too with the command "sha256sum /var/www/wapt/waptagent.exe" )

Pyscripter development / debug

The tis-python27 package no longer includes all the libraries of Wapt.
So you need to add a site-package dir to python init of Pyscripter to be able to debug using Pyscripter.
(see http://dev.tranquil.it/wiki/WAPT_-_Mise_en_place_de_l%27environnement_de_d%C3%A9veloppement)

In PyScripter, Option Tools / Edit startup scripts, update file  python_init.py with lines :

import site
site.addsitedir('c:/wapt/lib/site-packages')