From 9a6b9cacbd8876d2028cff726cf59dcb8422cf5c Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Sun, 10 Feb 2013 20:09:17 -0500 Subject: [PATCH] Adding tar as a dependency tar is required to copy puppet modules to remote hosts Change-Id: I7bf7c63e3a2a4c87cbb9f1024874232c21f104ef --- packstack/plugins/puppet_950.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packstack/plugins/puppet_950.py b/packstack/plugins/puppet_950.py index 57a36ad7c..38a6ee3a5 100644 --- a/packstack/plugins/puppet_950.py +++ b/packstack/plugins/puppet_950.py @@ -67,8 +67,8 @@ def runCleanup(): def installdeps(): for hostname in gethostlist(controller.CONF): server = utils.ScriptRunner(hostname) - server.append("rpm -q puppet || yum install -y puppet") - server.append("rpm -q openssh-clients || yum install -y openssh-clients") + for package in ("puppet", "openssh-clients", "tar"): + server.append("rpm -q %s || yum install -y %s" % (package, package)) server.execute()