~doanac/juju-deployer/multiple-series

« back to all changes in this revision

Viewing changes to deployer/env/gui.py

  • Committer: Kapil Thangavelu
  • Author(s): Brad Crittenden
  • Date: 2014-01-23 14:14:28 UTC
  • mfrom: (84.6.4 parse-constraints)
  • Revision ID: kapil@canonical.com-20140123141428-90ghdw2qitge8cdn
merge bac parse-constraints, normalize constraints for use with api deploys

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
"""
6
6
 
7
7
from .go import GoEnvironment
 
8
from ..utils import parse_constraints
8
9
 
9
10
 
10
11
class GUIEnvironment(GoEnvironment):
54
55
        The repo argument is ignored but listed since the Importer always
55
56
        passes the value as a positional argument.
56
57
        """
 
58
 
 
59
        constraints = parse_constraints(constraints)
57
60
        self.client.deploy(
58
61
            name, charm_url, config=config, constraints=constraints,
59
62
            num_units=num_units, machine_spec=force_machine)