[SOLVED] Configuring wapt-get.ini
Published: August 23, 2023 - 5:31 PM
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:
Everything works
However, when I do it via the packet, I can write:
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:
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
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=TrueHowever, when I do it via the packet, I can write:
Code: Select all
waptservice_admin_filter = TrueHow 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)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