You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmytro Grinenko (JIRA)" <ji...@apache.org> on 2017/11/24 07:25:00 UTC

[jira] [Updated] (AMBARI-22513) Make yumrpm.py functions to use global defined commands

     [ https://issues.apache.org/jira/browse/AMBARI-22513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmytro Grinenko updated AMBARI-22513:
-------------------------------------
    Attachment: AMBARI-22513.patch

> Make yumrpm.py functions to use global defined commands
> -------------------------------------------------------
>
>                 Key: AMBARI-22513
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22513
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Dmytro Grinenko
>            Assignee: Dmytro Grinenko
>            Priority: Blocker
>         Attachments: AMBARI-22513.patch
>
>
> At the global space of yumrmp we defining the list of command available for the module:
> {code}
> ALL_INSTALLED_PACKAGES_CMD = [AMBARI_SUDO_BINARY, "yum", "list", "installed", "--noplugins"]
> ALL_AVAILABLE_PACKAGES_CMD = [AMBARI_SUDO_BINARY, "yum", "list", "available", "--noplugins"]
> {code}
> but not using them at the functions: 
> - _get_installed_packages
> - _get_available_packages
> What makes them to ignore changes made in command definition constants



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)