<div dir="ltr">Good move Dmitry..<div><br></div><div>If someone has more plugins who wants to share.. be welcomed here.</div><div><br></div><div>All best,</div><div><br></div><div>Sergio</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Mar 17, 2014 at 3:45 PM, Dmitry Serenbrennikov <span dir="ltr">&lt;<a href="mailto:dmitry@adchemy.com" target="_blank">dmitry@adchemy.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div>
<div style="font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Same here. <br>
</p>
<p><br>
</p>
<p>Here&#39;s another plugin that I have written. It integrates Chef such that master nodes are configured as chef clients/nodes.<br>
</p>
<p><a href="https://gist.github.com/nitecoder/9605618" target="_blank">https://gist.github.com/nitecoder/9605618</a></p>
<div style="margin-top:20px;margin-bottom:20px">
<table style="border-bottom-style:solid;border-bottom-width:1px;border-top-style:solid;border-top-color:#cccccc;width:80%;border-bottom-color:#cccccc;border-top-width:1px">
<tbody>
<tr valign="top">
<td style="width:140px;display:inline">
<div style="width:140px;display:table;margin-top:12px;min-height:140px">
<a href="https://gist.github.com/nitecoder/9605618" style="display:table-cell" target="_blank"><img width="140" height="140" alt="" style="display:block;margin-left:auto;margin-right:auto;max-width:140px;max-height:140px;min-height:140px;width:140px;border-width:0px" src="https://1.gravatar.com/avatar/4456a0f0eda53e81fcd6ede8f2bf6dec?d=https%3A%2F%2Fidenticons.github.com%2Fdf64630c486a992b347c268ad6a445b5.png&amp;s=140"></a></div>

</td>
<td>
<div style="margin-top:8px;font-size:21px;font-family:&#39;segoe ui wpc semilight&#39;,&#39;segoe ui semilight&#39;,tahoma,&#39;microsoft sans serif&#39;,verdana,sans-serif;color:#333333;margin-left:14px;margin-right:14px">

This is a Chef plugin for StarCluster. It&#39;s really my first ever StarCluster plugin, plus I&#39;m very new to Chef as well. So please take with a grain of salt. Any feedback is welcome! Especially, a few things are not quite to my liking: chef&#39;s authentication
 system seems to presume that validation.pem file is widely distributed. I&#39;m attempting to limit the need for this file being everywhere (by u</div>
<div style="margin-top:8px;font-size:13px;font-family:&#39;segoe ui wpc&#39;,&#39;segoe ui&#39;,tahoma,&#39;microsoft sans serif&#39;,verdana,sans-serif;color:#666666;margin-left:14px;margin-right:14px">
This is a Chef plugin for StarCluster. It&#39;s really my first ever StarCluster plugin, plus I&#39;m very new to Chef as well. So please take with a grain of salt. Any feedback is welcome! Especially, a few things are not quite to my liking: chef&#39;s authentication
 system seems to presume that validation.pem file is widely distributed. I&#39;m attempting to limit the need for this file being everywhere (by using chef bootstrap). It works, but doesn&#39;t seem like the right approach. Am I just misunderstanding Chef somehow?
 currently it&#39;s not possible to tell if starcluster node is terminated or just stopped. If one deletes chef client on stop, then start doesn&#39;t work. I chose to delete the node but leave the client. But this also doesn&#39;t seem like the right approach. - Gist
 is a simple way to share snippets of text and code with others.</div>
<div style="margin:8px 14px 10px;min-height:18px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap">
<a href="https://gist.github.com/nitecoder/9605618" style="font-size:11px;font-family:&#39;segoe ui wpc&#39;,&#39;segoe ui&#39;,tahoma,&#39;microsoft sans serif&#39;,verdana,sans-serif;text-decoration:none" target="_blank">Read
 more...</a></div>
</td>
</tr>
</tbody>
</table>
</div>
It&#39;s kind of clunky but seems to work. In particular, I&#39;ve attempted to de-provision the node (if not the client) when cluster terminates. But I&#39;m new to Chef and StarCluster both, so this could be totally missing the way Chef is supposed to operate. <br>

<p></p>
<p><br>
</p>
<p>Any feedback is welcome!<br>
</p>
<p><br>
</p>
<p>Thanks!<br>
</p>
<p>-Dmitry<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div style="color:#282828">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> <a href="mailto:starcluster-bounces@mit.edu" target="_blank">starcluster-bounces@mit.edu</a> &lt;<a href="mailto:starcluster-bounces@mit.edu" target="_blank">starcluster-bounces@mit.edu</a>&gt; on behalf of Jacob Barhak &lt;<a href="mailto:jacob.barhak@gmail.com" target="_blank">jacob.barhak@gmail.com</a>&gt;<br>

<b>Sent:</b> Sunday, March 16, 2014 9:21 PM<br>
<b>To:</b> Sergio Mafra<br>
<b>Cc:</b> <a href="mailto:starcluster@mit.edu" target="_blank">starcluster@mit.edu</a><br>
<b>Subject:</b> Re: [StarCluster] StarCluster Plugins</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">
<div>Thanks Sergio,</div>
<div><br>
</div>
<div>You have a second there. </div>
<div><br>
</div>
<div>People were very helpful to me in the past when I asked questions and they suggested plugins that solved my problems. However, I still do not understand too much about them to the point I can write one on my own, and I saw others in the list that ask similar
 questions about plugins.</div>
<div><br>
</div>
<div>The real question is if anyone who understands enough is willing to take this effort of a centralized repository?
</div>
<div><br>
</div>
<div>If someone does choose to invest in this it will help for sure and may grow to be a useful tool set.</div>
<div><br>
</div>
<div>           Jacob</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sat, Mar 15, 2014 at 3:08 PM, Sergio Mafra <span dir="ltr">
&lt;<a href="mailto:sergiohmafra@gmail.com" target="_blank">sergiohmafra@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:#cccccc;border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hi fellows,
<div><br>
</div>
<div>I´ve got no doubt that StarCluster is a fantastic tool. This helps lots of people on creating and managing an array of clusters.</div>
<div>But there is more.. the plugins.. They can help us improve what is really great.</div>
<div>The problem is knowing how to really develop and find them. They are scattered on internet.</div>
<div>I think that if someone (loving soul) creates a catalog of plugins, starting with &quot;How to develop a StarCluster plugin for dummies&quot;... this should be something. Better if Justin and Rayson cloud enhance the StarCluster´s site (<a href="http://star.mit.edu/cluster/docs/latest/manual/plugins.html#plugin-system" target="_blank">http://star.mit.edu/cluster/docs/latest/manual/plugins.html#plugin-system</a>)
 to be like a micro git.</div>
<div>Tell me what do you think.</div>
<span><font color="#888888">
<div><br>
Sergio</div>
</font></span></div>
<br>
_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu" target="_blank">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>

</blockquote></div><br></div>