<div dir="ltr">- screencast is perfect :) that should help enough for us to hack the rest of the bits. <br><div><div><br>- re: private keys, ah yes, no problem.  Thats the &quot;insecure&quot; private/public vagrant key used for simple setups, see <a href="https://github.com/mitchellh/vagrant/tree/master/keys" target="_blank">https://github.com/mitchellh/vagrant/tree/master/keys</a>.<br>

<br></div><div>- regarding the &quot;big data&quot; stuff: the spirit here is to unify and simplify gluster deployment, possibly using your puppet recipes, so that all of us can build new tech on top of it.  <br><br></div>
<div>- just saw your updated docs email.  they look beautiful :)  thanks james.  now i guess we have even less of an excuse to leverage the existing gluster puppet incantations you&#39;ve been working on !<br></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Nov 17, 2013 at 6:28 PM, James <span dir="ltr">&lt;<a href="mailto:purpleidea@gmail.com" target="_blank">purpleidea@gmail.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 class="im">On Sun, 2013-11-17 at 17:29 -0500, Jay Vyas wrote:<br>
&gt; hi james, moving this to public.<br>
</div>Moved to gluster-users then.<br>
<div class="im"><br>
&gt;   The subject was how to start using jame&#39;s<br>
&gt; puppet modules with the vagrant/gluster examples that we are working on.<br>
</div>I can&#39;t help you with anything vagrant related until it properly<br>
supports libvirt/kvm.<br>
<br>
I think it&#39;s actually a F20 goal:<br>
<a href="https://fedoraproject.org/wiki/Changes/Vagrant" target="_blank">https://fedoraproject.org/wiki/Changes/Vagrant</a><br>
<div class="im"><br>
<br>
&gt; So here are some bullets to move things forward.<br>
&gt;<br>
&gt; - Here are the functions for creating the gluster setup :<br>
&gt; <a href="https://forge.gluster.org/vagrant/fedora19-gluster/blobs/master/gluster-hbase-example/setup.sh" target="_blank">https://forge.gluster.org/vagrant/fedora19-gluster/blobs/master/gluster-hbase-example/setup.sh</a><br>

<br>
</div>You know that your _private_ key is visible in that file, right?<br>
<div class="im"><br>
&gt; We<br>
&gt; basically create a fake disk using truncate, assign it as a brick for<br>
&gt; the gluster volume, and then mount.  From there , we point hbase to that<br>
&gt; mount point and thats all there is.<br>
<br>
<br>
&gt;<br>
&gt; - lets disregard the hbase part for now,<br>
</div>Agreed.<br>
<div class="im"><br>
&gt;  and maybe you could create a<br>
&gt; &quot;vagrant+puppet+gluster&quot; starter project that uses some of the logic from<br>
</div>See above about vagrant. Maybe after F20 is released.<br>
<div class="im"><br>
&gt; this?  From there maybe we could work together to hack in the<br>
&gt; hbase/hadoop/whatever bits to make a puppetized version of these bash<br>
&gt; files.<br>
&gt;<br>
&gt; The advantage in my eyes of moving to your puppet:<br>
&gt;<br>
&gt; 1) mister james maintains the gluster bits :) :) :)<br>
</div>This I&#39;m happy to do.<br>
<div class="im"><br>
&gt; 2) Less implementation details, more logic on how we integrate gluster with<br>
&gt; bigdata tools<br>
</div>I&#39;m happy to work on this type of thing, but this sounds more like a<br>
consulting or needs donations project. I only have 2 vm&#39;s to test<br>
puppet/gluster on. bigdata probably implies &gt; 20GiB :P<br>
<div class="im"><br>
&gt; 3) the gluster community gets a cool example for learning how to use puppet<br>
&gt; and gluster together in a completely reproducible, zero startup<br>
&gt; environment.<br>
<br>
</div>Have you looked at gluster::simple ?<br>
<a href="https://github.com/purpleidea/puppet-gluster/blob/master/examples/gluster-simple-example.pp" target="_blank">https://github.com/purpleidea/puppet-gluster/blob/master/examples/gluster-simple-example.pp</a><br>
<br>
AFAICT, that&#39;s all you need. My understanding is that you&#39;re just trying<br>
to build a simple throw away cluster... Let me know if I misunderstood.<br>
If you want to customize your volume further, you can use it like this:<br>
<br>
class { &#39;::gluster::simple&#39;:<br>
        #path =&gt; &#39;&#39;,    # defaults to $vardir/data/<br>
        # NOTE: this can be a list...<br>
        volume =&gt; [&#39;hbase&#39;, &#39;foobar&#39;],<br>
        replica =&gt; 1,<br>
}<br>
<br>
HTH! For now, I&#39;ll think about adding a screencast and better docs.<br>
<span class="HOEnZb"><font color="#888888"><br>
James<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Nov 17, 2013 at 5:03 PM, James &lt;<a href="mailto:purpleidea@gmail.com">purpleidea@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Sun, 2013-11-17 at 10:52 -0500, Jay Vyas wrote:<br>
&gt; &gt; &gt; Hi there mister james...  !<br>
&gt; &gt; Hey,<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; As im not much of a puppet expert, im still not quite sure how to replace<br>
&gt; &gt; &gt; my bash scripts with your puppet gluster modules.<br>
&gt; &gt; That I can help with ;)<br>
&gt; &gt;<br>
&gt; &gt; Tell you what, if you send me your bash scripts, I&#39;ll even &quot;port&quot; them<br>
&gt; &gt; to puppet-gluster for you. (Or I&#39;ll try anyways.)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Can we create a &quot;puppet on gluster from zero&quot;  community page or blog<br>
&gt; &gt; post<br>
&gt; &gt; &gt; or readme update?  I&#39;d LOVE to use your puppet modules to drive some<br>
&gt; &gt; stuff<br>
&gt; &gt; &gt; I&#39;m doing for bigtop, and think it would be a huge win for broader<br>
&gt; &gt; gluster<br>
&gt; &gt; &gt; adoption.<br>
&gt; &gt; Can you give me more information about what/how you&#39;re trying to drive?<br>
&gt; &gt; I don&#39;t know what a bigtop is (other than a circus tent).<br>
&gt; &gt;<br>
&gt; &gt; Do you think a screencast would help too?<br>
&gt; &gt;<br>
&gt; &gt; I should really improve the docs. Ironically, I started writing puppet<br>
&gt; &gt; so that I wouldn&#39;t have to do docs. Haha. I&#39;ll try and get on this a<br>
&gt; &gt; bit.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; <a href="https://forge.gluster.org/puppet-gluster/puppet-gluster/blobs/master/README" target="_blank">https://forge.gluster.org/puppet-gluster/puppet-gluster/blobs/master/README</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thanks !<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I beleive you pinged me to remind you to make a &quot;tutorial for idiots&quot; at<br>
&gt; &gt; &gt; some point.   so... this is your reminder :) :) :)<br>
&gt; &gt;<br>
&gt; &gt; Okay!<br>
&gt; &gt;<br>
&gt; &gt; Cheers,<br>
&gt; &gt; James<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Mon, Jun 10, 2013 at 3:40 PM, James &lt;<a href="mailto:purpleidea@gmail.com">purpleidea@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On Mon, Jun 10, 2013 at 3:35 PM, Jay Vyas &lt;<a href="mailto:jayunit100@gmail.com">jayunit100@gmail.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; Hi james: I didnt know were behind this :)  I saw it the other day ..<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I guess i better play some with<br>
&gt; &gt; <a href="https://forge.gluster.org/puppet-gluster" target="_blank">https://forge.gluster.org/puppet-gluster</a> to<br>
&gt; &gt; &gt; &gt; &gt; see whats available and maybe ill post directly here or leave<br>
&gt; &gt; feedback on<br>
&gt; &gt; &gt; &gt; &gt; glusterforge<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Cool. Short disclaimer: I don&#39;t have any test hardware at the moment,<br>
&gt; &gt; &gt; &gt; so it&#39;s possible you might experience some problems. (I&#39;ve written a<br>
&gt; &gt; &gt; &gt; bit of untested code :P) Feel free to email me if you need help<br>
&gt; &gt; &gt; &gt; getting it going, or if you want to add code for a more specific<br>
&gt; &gt; &gt; &gt; gluster deployment script.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; In other news, if someone has vm hosting or hardware to donate, when I<br>
&gt; &gt; &gt; &gt; have time, I&#39;m happy to keep hacking/testing puppet-gluster.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jay Vyas<br><a href="http://jayunit100.blogspot.com" target="_blank">http://jayunit100.blogspot.com</a>
</div>