Skip to content

Instantly share code, notes, and snippets.

@tvansteenburgh
Created February 17, 2017 17:11
Show Gist options
  • Save tvansteenburgh/85accde54caafefbca91c22ef109389b to your computer and use it in GitHub Desktop.
Save tvansteenburgh/85accde54caafefbca91c22ef109389b to your computer and use it in GitHub Desktop.
from juju import placement
application = await model.deploy(
charm_dir_path,
application_name,
num_units=number_of_units,
to=placement.parse(machine_number)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment