Permalink
Browse files

Make the installation procedure respect existence of cloudman in main…

….yaml
  • Loading branch information...
1 parent 109907c commit 8f3ea33e17ff9c2b56aecd19cc41a7837e7e5471 @afgane committed May 6, 2012
Showing with 4 additions and 3 deletions.
  1. +3 −2 cloudbio/edition/base.py
  2. +1 −1 fabfile.py
@@ -73,11 +73,12 @@ def __init__(self, env):
self.name = "CloudBioLinux Edition"
self.short_name = "cloudbiolinux"
- def post_install(self):
+ def post_install(self, pkg_install=[]):
"""Add scripts for starting FreeNX and CloudMan.
"""
_freenx_scripts(self.env)
- _configure_cloudman(self.env)
+ if 'cloudman' in pkg_install:
+ _configure_cloudman(self.env)
class BioNode(Edition):
"""BioNode specialization of BioLinux
View
@@ -168,7 +168,7 @@ def install_biolinux(target=None, packagelist=None, flavor=None, environment=Non
if target is None or target == "libraries":
_do_library_installs(lib_install)
if target is None or target == "post_install":
- env.edition.post_install()
+ env.edition.post_install(pkg_install=pkg_install)
env.flavor.post_install()
if target is None or target == "cleanup":
_cleanup_space(env)

0 comments on commit 8f3ea33

Please sign in to comment.