Brandon Allbery | 30 May 2012 16:17
Picon
Gravatar

Re: Ruby ... active user sought

On Wed, May 30, 2012 at 10:03 AM, Bjarne D Mathiesen <macintosh <at> mathiesen.info> wrote:
Brandon Allbery wrote:
> On Wed, May 30, 2012 at 5:45 AM, Bjarne D Mathiesen
> <macintosh <at> mathiesen.info <mailto:macintosh <at> mathiesen.info>> wrote:
>
>     I've found this :
>     https://github.com/opscode-cookbooks/apache2
>
> I think you do not want to naively mix Chef and MacPorts, especially
> with a package that does not have any OS X support (much less MacPorts).

So ... you'ld recommend replicating it in tcl or bash ???

I am not sure what you think you are trying to do.  But your message implied that you believe you've found some useful Ruby utilities.

You haven't.  They are Ruby, but they are plugins for a system management framework called Chef; they are not useful by themselves, only as components of that framework.  You can't use them at all without configuring a Chef installation; and it doesn't look like there's a lot of support for MacPorts so using it to manage anything installed by MacPorts may ultimately result in your needing to teach Chef how to deal with MacPorts as a package provider.

At least Chef supports OS X; I had thought it was still stuck in Linux-land.  But the Apache recipes you pointed to do not list OS X support at all, so your first hurdle would be porting those recipes to control MacPorts' Apache.  Their FreeBSD recipe might serve as a starting point — assuming there is some compatibility between their freebsd and macosx cookbooks.  (This is less about Ruby than it is about understanding how to maintain platforms and how to adapt between somewhat similar platforms.)

--
brandon s allbery                                      allbery.b <at> gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms

<div><div dir="ltr">On Wed, May 30, 2012 at 10:03 AM, Bjarne D Mathiesen <span dir="ltr">&lt;<a href="mailto:macintosh <at> mathiesen.info" target="_blank">macintosh <at> mathiesen.info</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote">
<div class="im">Brandon Allbery wrote:<br>
&gt; On Wed, May 30, 2012 at 5:45 AM, Bjarne D Mathiesen<br>
</div>
<div class="im">&gt; &lt;<a href="mailto:macintosh <at> mathiesen.info">macintosh <at> mathiesen.info</a> &lt;mailto:<a href="mailto:macintosh <at> mathiesen.info">macintosh <at> mathiesen.info</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; I've found this :<br>
&gt; &nbsp; &nbsp; <a href="https://github.com/opscode-cookbooks/apache2" target="_blank">https://github.com/opscode-cookbooks/apache2</a><br>
&gt;<br>&gt; I think you do not want to naively mix Chef and MacPorts, especially<br>
&gt; with a package that does not have any OS X support (much less MacPorts).<br><br>
</div>So ... you'ld recommend replicating it in tcl or bash ???</blockquote></div>
<div><br></div>
<div>I am not sure what you think you are trying to do. &nbsp;But your message implied that you believe you've found some useful Ruby utilities.</div>
<div><br></div>
<div>You haven't. &nbsp;They are Ruby, but they are plugins for a system management framework called Chef; they are not useful by themselves, only as components of that framework. &nbsp;You can't use them at all without configuring a Chef installation; and it doesn't look like there's a lot of support for MacPorts so using it to manage anything installed by MacPorts may ultimately result in your needing to teach Chef how to deal with MacPorts as a package provider.</div>
<div><br></div>
<div>At least Chef supports OS X; I had thought it was still stuck in Linux-land. &nbsp;But the Apache recipes you pointed to do not list OS X support at all, so your first hurdle would be porting those recipes to control MacPorts' Apache. &nbsp;Their FreeBSD recipe might serve as a starting point &mdash; assuming there is some compatibility between their freebsd and macosx cookbooks. &nbsp;(This is less about Ruby than it is about understanding how to maintain platforms and how to adapt between somewhat similar platforms.)</div>
<div><br></div>-- <br>brandon s allbery &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:allbery.b <at> gmail.com" target="_blank">allbery.b <at> gmail.com</a><br>wandering unix systems administrator (available) &nbsp; &nbsp; (412) 475-9364 vm/sms<br><br>
</div></div>

Gmane