Adding tar as a dependency

tar is required to copy puppet modules to remote hosts

Change-Id: I7bf7c63e3a2a4c87cbb9f1024874232c21f104ef
This commit is contained in:
Derek Higgins
2013-02-10 20:09:17 -05:00
parent 12b61360e4
commit 9a6b9cacbd

View File

@@ -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()