opsi-pkg and swaudit
Verfasst: 10 Jul 2014, 18:24
Hello,
It's my first time to the opsi forum. Thank you for the great tool. I am testing the free version for a windows lab.
I am trying to use opsi-pkg as mentioned at wiki/userspace:opsi-pkg , but I am running into a small issue. HEre is the error message.
Additional information:
OS : RHEL 6.2
OPsi RPMS:
opsiconfd-4.0.4.3-1.2.noarch
opsipxeconfd-4.0.4.1-2.1.noarch
opsi-utils-4.0.4.1-2.2.noarch
opsi-configed-4.0.4.1.2-4.2.noarch
opsi-atftp-0.7.dfsg-10.2.x86_64
opsi-linux-bootimage-20140118-1.2.noarch
python-opsi-4.0.4.5-2.2.noarch
opsipxeconfd-4.0.4.1-2.2.noarch
opsi-depotserver-4.0.4.4-1.2.noarch
python -V
Python 2.6.6
Could anyone please help to fix me above issue?
The unrelated doubt I have about swaudit is, I just want to know how to force swaudit on a client. I see outdated information(under software inventory ) even after a package such as adobe flash was installed using 'setup' and correctly shown as installed in "Product Information"
Thank you,
It's my first time to the opsi forum. Thank you for the great tool. I am testing the free version for a windows lab.
I am trying to use opsi-pkg as mentioned at wiki/userspace:opsi-pkg , but I am running into a small issue. HEre is the error message.
Code: Alles auswählen
./opsi-pkg -lp
package version available_requests
Traceback (most recent call last):
File "./opsi-pkg", line 1260, in <module>
printPackages()
File "./opsi-pkg", line 469, in printPackages
for package in sorted(getPackages()):
File "./opsi-pkg", line 338, in getPackages
packages_tmp = callOpsiAdminVar(cmd)
File "./opsi-pkg", line 163, in callOpsiAdminVar
exec(defVar + "var=" + out[0])
File "<string>", line 2
var=
^
SyntaxError: invalid syntax
OS : RHEL 6.2
OPsi RPMS:
opsiconfd-4.0.4.3-1.2.noarch
opsipxeconfd-4.0.4.1-2.1.noarch
opsi-utils-4.0.4.1-2.2.noarch
opsi-configed-4.0.4.1.2-4.2.noarch
opsi-atftp-0.7.dfsg-10.2.x86_64
opsi-linux-bootimage-20140118-1.2.noarch
python-opsi-4.0.4.5-2.2.noarch
opsipxeconfd-4.0.4.1-2.2.noarch
opsi-depotserver-4.0.4.4-1.2.noarch
python -V
Python 2.6.6
Could anyone please help to fix me above issue?
The unrelated doubt I have about swaudit is, I just want to know how to force swaudit on a client. I see outdated information(under software inventory ) even after a package such as adobe flash was installed using 'setup' and correctly shown as installed in "Product Information"
Thank you,