summaryrefslogtreecommitdiffstats
path: root/src/software/openlmi/software/LMI_SoftwareInstallationService.py
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-05-10 13:49:31 +0200
committerMichal Minar <miminar@redhat.com>2013-05-10 13:49:31 +0200
commit53aed1bf202d69b1ed717dc707c75533c73a06a6 (patch)
treec139c0e0606422d2edd2f1669289fbf567dfcd42 /src/software/openlmi/software/LMI_SoftwareInstallationService.py
parentbe2b9c7f7530b6c5c31de4878092fd1e655fc033 (diff)
parent8640b6f00b259df2371a1181f434f5d841fcf207 (diff)
downloadopenlmi-providers-53aed1bf202d69b1ed717dc707c75533c73a06a6.tar.gz
openlmi-providers-53aed1bf202d69b1ed717dc707c75533c73a06a6.tar.xz
openlmi-providers-53aed1bf202d69b1ed717dc707c75533c73a06a6.zip
Merge branch 'software-indications'
Diffstat (limited to 'src/software/openlmi/software/LMI_SoftwareInstallationService.py')
-rw-r--r--src/software/openlmi/software/LMI_SoftwareInstallationService.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/software/openlmi/software/LMI_SoftwareInstallationService.py b/src/software/openlmi/software/LMI_SoftwareInstallationService.py
index f1e0ea7..8727a14 100644
--- a/src/software/openlmi/software/LMI_SoftwareInstallationService.py
+++ b/src/software/openlmi/software/LMI_SoftwareInstallationService.py
@@ -369,8 +369,8 @@ class LMI_SoftwareInstallationService(CIMProvider2):
out_params = [pywbem.CIMParameter('Job', type='reference', value=None)]
try:
jobid = InstallationService.install_or_remove_package(
- env, "uri", param_uri,
- param_target, None, param_installoptions,
+ env, InstallationJob.JOB_METHOD_INSTALL_FROM_URI,
+ param_uri, param_target, None, param_installoptions,
param_installoptionsvalues)
rval = self.values.InstallFromURI. \
Method_Parameters_Checked___Job_Started
@@ -655,8 +655,10 @@ class LMI_SoftwareInstallationService(CIMProvider2):
out_params = [pywbem.CIMParameter('Job', type='reference', value=None)]
try:
jobid = InstallationService.install_or_remove_package(
- env, "identity", param_source,
- param_target, param_collection, param_installoptions,
+ env, InstallationJob. \
+ JOB_METHOD_INSTALL_FROM_SOFTWARE_IDENTITY,
+ param_source, param_target, param_collection,
+ param_installoptions,
param_installoptionsvalues)
rval = self.values.InstallFromSoftwareIdentity. \
Method_Parameters_Checked___Job_Started