<div dir="ltr"><div><div>Hi Steve,<br><br></div>It is very simple: one application per package. If something can be deployed on its own (can be a top level component in environment and must be visible in app catalog) then it is application and deserves a separate package.<br>

<br></div>The composition (in your example distribution of hosts between applications) is done by the user in dashboard. Due to current dashboard limitations there is no way to share instance between several applications but this a temporary limitation. Also it would be wrong to enforce some particular deployment topology on package level until absolutely required because otherwise you would require to publish separate application versions for each supported topology. Imagine how it will look like for apps with tens of instances and hundreds of combinations of what can be combined into single VM. <br>

</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small">Sincerely yours,<br>

Stan Lagun<br>Principal Software Engineer @ Mirantis</span></span><br><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small"><br>

<a href="mailto:slagun@mirantis.com" target="_blank"></a></span></span></div></div>
<br><br><div class="gmail_quote">On Tue, Jun 17, 2014 at 7:36 PM, McLellan, Steven <span dir="ltr"><<a href="mailto:steve.mclellan@hp.com" target="_blank">steve.mclellan@hp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m trying to figure out what we’ll be able to support in the near/far term with regards to packaging applications. My understanding of the DSL is incomplete and I’m trying to fix that
<span style="font-family:Wingdings">J</span>  This isn’t so much a usage question as for assistance writing documentation.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Taking Wordpress as the ever-present example, imagine I want to present one choice to a user:<u></u><u></u></p>
<p><u></u><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><u></u>Install it and mysql on one host<u></u><u></u></p>
<p><u></u><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><u></u>Install it on one host, and mysql on another host<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This also implies that I have two Applications defined; one which describes how to install Wordpress (and takes a database host/user/password as arguments, as well as an instance), and one describing how to install a database (which maybe
 also takes a username and password as arguments).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In terms of packaging, what’s the best way to represent this? What would make sense to me is to have the database Application defined in a library somewhere, and the Wordpress Application and the logic and UI to take input and make decisions
 in their own package. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This kind of composition seems very similar to the SQLServer/ActiveDirectory example but it’s hard working through the example. It was mentioned at the summit that we need some good examples of what can be done above Heat (and the reason
 this is a good example is because there’s a direct comparison to Thomas Spatzier’s softwareconfig example heat templates).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m happy to write something up but I’d like some input first.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Steve<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>