<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 6, 2013 at 10:16 AM, John Arbash Meinel <span dir="ltr"><<a href="mailto:john@arbash-meinel.com" target="_blank">john@arbash-meinel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><br>
</div>You probably want to look at "juju upgrade-charm". When you deploy, we<br>
take the contents of the local repository and zip it up to store in<br>
the environment and deploy from there. You need to "upgrade-charm" to<br>
copy in a new version and tell the system that you want to switch to it.<br>
<br></blockquote><div><br></div><div>Also, if you have destroyed a service, you can't do upgrade-charm, at that point, you want to make sure your "revision" file in your charm directory contains a higher number as juju remembers the charms it deploys.  The "--upgrade" flag on juju deploy can automate that for you, in that case.  </div>
<div><br></div><div>See the discussion in this bug, as this behavior surprised me too:</div><div><br></div><div><a href="https://bugs.launchpad.net/juju-core/+bug/1205466">https://bugs.launchpad.net/juju-core/+bug/1205466</a><br>
</div><div><br></div><div> -- </div></div><div dir="ltr"><div>David Britton <<a href="mailto:david.britton@canonical.com" target="_blank">david.britton@canonical.com</a>></div></div>
</div></div>