Repository: ambari Updated Branches: refs/heads/branch-2.6 a22f66f71 -> 334411fbf refs/heads/trunk ed7e121f3 -> 3297dfa65
AMBARI-22438 Disable plugins for yum on yum list command (dgrinenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/334411fb Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/334411fb Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/334411fb Branch: refs/heads/branch-2.6 Commit: 334411fbf172fa0c4097ce01f375bc5ed2529aaf Parents: a22f66f Author: Dmytro Grinenko <[email protected]> Authored: Tue Nov 14 20:11:49 2017 +0200 Committer: Dmytro Grinenko <[email protected]> Committed: Tue Nov 14 20:11:49 2017 +0200 ---------------------------------------------------------------------- .../python/resource_management/core/providers/package/yumrpm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/334411fb/ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py ---------------------------------------------------------------------- diff --git a/ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py b/ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py index f774f77..24f03f7 100644 --- a/ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py +++ b/ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py @@ -46,8 +46,8 @@ REMOVE_WITHOUT_DEPENDENCIES_CMD = ['rpm', '-e', '--nodeps'] YUM_REPO_LOCATION = "/etc/yum.repos.d" REPO_UPDATE_CMD = ['/usr/bin/yum', 'clean', 'metadata'] -ALL_INSTALLED_PACKAGES_CMD = [AMBARI_SUDO_BINARY, "yum", "list", "installed"] -ALL_AVAILABLE_PACKAGES_CMD = [AMBARI_SUDO_BINARY, "yum", "list", "available"] +ALL_INSTALLED_PACKAGES_CMD = [AMBARI_SUDO_BINARY, "yum", "list", "installed", "--noplugins"] +ALL_AVAILABLE_PACKAGES_CMD = [AMBARI_SUDO_BINARY, "yum", "list", "available", "--noplugins"] VERIFY_DEPENDENCY_CMD = ['/usr/bin/yum', '-d', '0', '-e', '0', 'check', 'dependencies'] # base command output sample:
