ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Grinenko (JIRA)" <>
Subject [jira] [Created] (AMBARI-22513) Make functions to use global defined commands
Date Fri, 24 Nov 2017 07:18:00 GMT
Dmytro Grinenko created AMBARI-22513:

             Summary: Make functions to use global defined commands
                 Key: AMBARI-22513
             Project: Ambari
          Issue Type: Bug
            Reporter: Dmytro Grinenko
            Assignee: Dmytro Grinenko
            Priority: Blocker

At the global space of yumrmp we defining the list of command available for the module:
ALL_INSTALLED_PACKAGES_CMD = [AMBARI_SUDO_BINARY, "yum", "list", "installed", "--noplugins"]
ALL_AVAILABLE_PACKAGES_CMD = [AMBARI_SUDO_BINARY, "yum", "list", "available", "--noplugins"]

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

View raw message