Cannot remove package property
Verfasst: 16 Dez 2013, 01:48
Hi,
I have a package that has several boolean properties setting installation options. The package has been installed to a number of clients. I am trying to remove one of these properties but I am having trouble getting rid of it completely.
I edited the OPSI/control file to delete the unwanted property and rebuilt the package with opsi-makeproductfile, then reinstalled with opsi-package-manager -i prod_ver.opsi. If I select the product in opsi config editor and look under 'configuration for client' the deleted property is gone. But, if I click on 'set client values to server defaults' I get an error saying 'key not valid' with the name of the deleted property. So it's still in the server config somewhere.
I have tried removing the package with opsi-package-manager -r prod and then reinstalling but this does not help. If someone could tell me how to get rid of this product property I would appreciate it. Hopefully it does not require some ugly SQL hack.
Regards,
Stephen
I have a package that has several boolean properties setting installation options. The package has been installed to a number of clients. I am trying to remove one of these properties but I am having trouble getting rid of it completely.
I edited the OPSI/control file to delete the unwanted property and rebuilt the package with opsi-makeproductfile, then reinstalled with opsi-package-manager -i prod_ver.opsi. If I select the product in opsi config editor and look under 'configuration for client' the deleted property is gone. But, if I click on 'set client values to server defaults' I get an error saying 'key not valid' with the name of the deleted property. So it's still in the server config somewhere.
I have tried removing the package with opsi-package-manager -r prod and then reinstalling but this does not help. If someone could tell me how to get rid of this product property I would appreciate it. Hopefully it does not require some ugly SQL hack.
Regards,
Stephen