Page 1 of 1

[SOLVED] Configuring wapt-get.ini

Published: August 23, 2023 - 5:31 PM
by sbafs74
Good morning,
I am having trouble configuring the wapt-get.ini file via the tis-wapt-conf-policy package.
I am trying to enable the waptservice_admin_filter function and set it to True so that local administrators do not see all the packages in Self Service.
When I edit the file manually by writing:

Code: Select all

waptservice_admin_filter=True
Everything works ;)

However, when I do it via the packet, I can write:

Code: Select all

waptservice_admin_filter = True
But it doesn't work! I think it's due to the spaces before and after the =

How can I fix this problem? I'm using this function in setup.py:

Code: Select all

 inifile_writestring(WAPT.config_filename, 'global', 'waptservice_admin_filter',True)
I am on version 2.4.0.14143

On the other hand, I found a small error in the documentation for version 4.1.4.1; the example uses `inifile_writestring` instead of `inifile_readstring`.

THANKS

Fabien

Re: Configuring wapt-get.ini

Published: August 24, 2023 - 08:40
by sbafs74
Good morning,

After rebooting the workstations, the parameter

Code: Select all

waptservice_admin_filter = True
works very well

So the problem wasn't a problem, sorry.

THANKS

Re: [SOLVED] Configuring wapt-get.ini

Published: August 24, 2023 - 08:58
by dcardon
Thanks for the feedback, Fabien :-)
Denis