Updates for opsi 4.2 in testing

Antworten
Benutzeravatar
j.werner
uib-Team
Beiträge: 64
Registriert: 08 Okt 2019, 13:32

Updates for opsi 4.2 in testing

Beitrag von j.werner »

Dear opsi user,

with this release we have published new packages for opsi 4.2 in testing.

opsi-script 4.12.5.3-1: Contains new features in the area of ​​file handling (e.g. TOML support, patches/files sections), web service (e.g. openssl 1.1.1 under Windows), registry functions, local functions and several bug fixes.

With kind regards
Jan Werner

=========================================
Updated packages in opsi 4.2 testing
=========================================
localboot packages Windows:
* opsi-script (4.12.5.3-1)
* opsi-winst (4.12.5.3-1)

localboot packages Linux:
* opsi-script (4.12.5.3-1)

localboot packages Mac:
* opsi-script (4.12.5.3-1)

Code: Alles auswählen

[Changelog]

opsi-script (4.12.5.3) urgency=low

  Changes:
    * powershellCall [W]: execution of powershellcall with powershell.exe -ExecutionPolicy ByPass

-- j.werner <j.werner@uib.de> 09 June 2022

opsi-script (4.12.5.2) urgency=low

  Fixes:
    * webservice [M]: fix on openssl. Openssl units from opsi-script 4.12.5.1 did not work correctly on MacOS.
    * files section [W/L/M]: handle division by zero if files to zip are empty
    * powershellCall [W]: correction for powershellcall without assignment 

-- j.werner <j.werner@uib.de> 09 June 2022

opsi-script (4.12.5.1) urgency=low

  New:
    * Patches section [W]: support %userprofiledir% inside of patches section. 
    * Files section [L]: Command CHMOD with mode formats 'ugo=+-rwx' and '-rwxrwxrwx' 
        and with parameter '/AllSubFiles'. 
    * functions for TOML files handling [W/L/M]:
        LoadTOMLFile(<TOMLfilePath>): StringList,
        GetTOMLAsStringList(<TOMLcontents>): StringList,
        GetTOMLKeys(<TOMLcontents>): StringList,
        GetTOMLTableNames(<TOMLcontents): StringList,
        GetTOMLTable(<TOMLcontents>, <table>): StringList,
        ReadTOMLFile (<TOMLfilePath>): String, 
        GetTOMLAsString(<TOMLcontents>): String,
        GetTOMLTableAsString(<TOMLcontents>, <table>): String,
        GetValueFromTOML(<TOMLcontents>, <keyPath>, <defaultValue>): String,
        ModifyTOML(<TOMLcontents>, <command>, <keyPath>, <value>): String,
        DeleteTableFromTOML(<TOMLcontents>, <tablePath>): String,
        ConvertTOMLtoJSON(<TOMLcontents>): String,
        SaveToTOMLFile (<TOMLcontents>, <TOMLfilePath>) : boolean,
        ConvertTOMLfileToJSONfile(<TOMLfilePath>, <JSONfilePath>): boolean.
    * GetRegistry functions [W]: 
        getRegistryKeyList(<regkey>, <access str>), 
        getRegistryVarList(<regkey>, <access str>), 
        getRegistryVarMap(<regkey>, <access str>). 
    * defined functions [W/L/M]: support string concatenation in call of defined functions.
  
  Changes:
    * openssl [W]: update openssl on Windows to version 1.1.1n.
    * webservice [W/L/M]: improved debugging and error handling.
    * getWinProcessList [W]: use wincp2utf8 to reencode results.

  Fixes:
    * PowershellCall [W]: now shows output also for piped commands e.g. powershellCall("Get-hotfix | Select HotfixId"). 
        Neverthless be carefull using piped commands in powershellCall! 
    * Files section [W/L/M]: "del" now works with wildcards.
    * Registry section [W]: "deletekey" now handles umlauts correctly.
    * Comment [W/L/M]: Syntax errors in comments were ignored so far, now they will throw a syntax error.
    * isProcessChildOf [W/L/M]: avoiding of an endless loop (hanging) which might occur under certain circumstances.
    * sub <file name> [W/L/M]: spaces in front of the lines of a sub file will not be removed any more
    	(so that e.g. python code in an ExecWith section keeps its syntax).
    * opsiservicecall [W/L/M]: support newline and tab.
    * oswebservice: correct detection of opsi 4.0/4.1 (necessary for establishing the connection)
  
-- j.werner <j.werner@uib.de> 25 Mai 2022
Antworten