<div dir="ltr">Hi Dmitry,<div><br></div><div>You can look at my simple chef plugin here. It might not be exactly what you&#39;re trying to do but hopefully it helps.</div><div><br></div><div><a href="https://github.com/bioteam/StarClusterPlugins/blob/master/starcluster_plugins/chef/chef.py">https://github.com/bioteam/StarClusterPlugins/blob/master/starcluster_plugins/chef/chef.py</a><br>

</div><div><br></div><div>Best Regards,</div><div>Adam</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 26, 2014 at 7:06 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>Hello!<br>
</p>
<p><br>
</p>
<p>I&#39;m trying to write a simple plugin for Chef integration. But I&#39;m having trouble finding good examples and docs out there. Can someone please point me to some good resources, besides the <a href="http://star.mit.edu/cluster/docs/latest/manual/plugins.html#plugin-system" style="font-size:12pt" target="_blank"><span>http://star.mit.edu/cluster/docs/latest/manual/plugins.html#plugin-system</span></a><span style="font-size:12pt"> page?</span></p>


<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">DefaultClusterSetup is useful, but a bit tough to get through. Also, I don&#39;t know if it has example of what I am trying to do. For example, how does one get a cluster name and template name from inside plugin&#39;s run method?</span></p>


<p><br>
</p>
<p>Thanks!<br>
</p>
<p>Dmitry<br>
</p>
<p><a href="mailto:dserebren@gmail.com" target="_blank">dserebren@gmail.com</a><br>
</p>
</div>
</div>

<br>_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">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>