diff options
author | Michal Minar <miminar@redhat.com> | 2013-05-10 13:49:31 +0200 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-05-10 13:49:31 +0200 |
commit | 53aed1bf202d69b1ed717dc707c75533c73a06a6 (patch) | |
tree | c139c0e0606422d2edd2f1669289fbf567dfcd42 /src/software/openlmi/software/LMI_SoftwareInstallationService.py | |
parent | be2b9c7f7530b6c5c31de4878092fd1e655fc033 (diff) | |
parent | 8640b6f00b259df2371a1181f434f5d841fcf207 (diff) | |
download | openlmi-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.py | 10 |
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 |