Example #1
0
 def __init__(self, name, desc, repo, dest, **kw):
     clone_cmd = 'git clone %s %s' % (repo, dest)
     WrappedShellCode.__init__(self, name, desc, clone_cmd, **kw)
Example #2
0
 def __init__(self, name, desc, packages):
     install_cmd = "aptitude -q install %s" % (" ".join(packages))
     #install_cmd = "apt-get install %s" % (" ".join(packages))
     WrappedShellCode.__init__(self, name, desc, install_cmd, sudo=True)