grabbing resources when deploying via api Application.Deploy

Adam Stokes adam.stokes at canonical.com
Wed Jun 29 16:33:21 UTC 2016


I've noticed a difference between calling:

juju deploy cs:~containers/trusty/etcd-3

And using the API:

Application.Deploy({'applications': [{'constraints': {}, 'application':
'etcd', 'num-units': 3, 'charm-url': 'cs:~containers/trusty/etcd-3'}]})

Using the juju client it'll automatically pull down the resources
associated with it in the charmstore. Using the API call will not.

Question is if this is intended? Do I need to pass something to my Deploy
call to grab those resources as well?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160629/d3a1dd14/attachment.html>


More information about the Juju-dev mailing list