AMBARI-17502. RU/EU Install packages fails on suse (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ed5bcbf9 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ed5bcbf9 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ed5bcbf9 Branch: refs/heads/branch-2.4 Commit: ed5bcbf9e4c7270ca0d8990773508e2a08e3c3fe Parents: 8005e77 Author: Andrew Onishuk <[email protected]> Authored: Wed Jul 6 17:58:20 2016 +0300 Committer: Andrew Onishuk <[email protected]> Committed: Wed Jul 6 17:58:20 2016 +0300 ---------------------------------------------------------------------- .../resource_management/libraries/functions/packages_analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/ed5bcbf9/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py ---------------------------------------------------------------------- diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py b/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py index 7805907..7bbbd3d 100644 --- a/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py +++ b/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py @@ -297,7 +297,7 @@ def verifyDependencies(): cmd = ['/usr/bin/yum', '-d', '0', '-e', '0', 'check', 'dependencies'] check_str = "has missing requires|Error:" elif OSCheck.is_suse_family(): - cmd = ['/usr/bin/zypper', '--quiet', '--non-interactive' 'verify', '--dry-run'] + cmd = ['/usr/bin/zypper', '--quiet', '--non-interactive', 'verify', '--dry-run'] check_str = "\d+ new package(s)? to install" elif OSCheck.is_ubuntu_family(): cmd = ['/usr/bin/apt-get', '-qq', 'check']
