]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
task/install.py: Allow installation of non-ceph
authorSam Lang <sam.lang@inktank.com>
Wed, 1 May 2013 15:55:38 +0000 (10:55 -0500)
committerSage Weil <sage@inktank.com>
Tue, 7 May 2013 00:37:25 +0000 (17:37 -0700)
commit980973dc55bf845960915ec3c7016bfc1fdc70dd
tree64f847a5b2bcdeb4cb51fb6182ef2e2b485ea734
parente3b0e1e820d0caaf2077bf498dac1cc27ca856fb
task/install.py: Allow installation of non-ceph

Generalizes the install task to specify a "project" which defaults to
'ceph', but can be configured to install different project packages,
for example:

install:
  project: samba
  extra_packages: samba

The default install task uses 'ceph' as the project, and relies on an
existing set of defined packages to install.  For other projects, the
packages to be installed must be specified with the extra_packages
field.  Multiple install tasks can be specified:

install:
install:
  project: samba
  extra_packages: samba

Which installs ceph packages and then samba packages.

Also, cleanup in nuke.py so that nuke and install use the same list of
packages when doing the remove steps.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
teuthology/nuke.py
teuthology/task/install.py