Add "--options" to update_virtualenv
@@ -13,7 +13,7 @@ from fabric.api import env, execute, parallel, prefix, put, puts, run, show
from fabric.contrib.files import exists
from six import string_types
-from .common import (add_config, add_environment, add_name, add_override_name,
+from .common import (add_config, add_environment, add_name, add_options, add_override_name,
add_pool_size, add_requirements)
from ..util import (activate_env, die, get_config, get_env_config,
get_topology_definition)
@@ -109,6 +109,7 @@ def subparser_hook(subparsers):
add_config(subparser)
add_environment(subparser)
add_name(subparser)
+ add_options(subparser)
add_override_name(subparser)
add_pool_size(subparser)
add_requirements(subparser)
@@ -117,7 +118,7 @@ def subparser_hook(subparsers):
def main(args):
""" Create or update a virtualenv on Storm workers. """
env.pool_size = args.pool_size
- create_or_update_virtualenvs(args.environment, args.name,
+ create_or_update_virtualenvs(args.environment, args.name, args.options
virtualenv_name=args.override_name,
requirements_paths=args.requirements,
config_file=args.config)
