[chef-dev] Re: Re: Re: FreeBSD Omnibus Support

Chronological Thread 
  • From: Joe Miller < >
  • To: Pete Cheslock < >
  • Cc: Scott Sanders < >, Bryan McLellan < >, " " < >
  • Subject: [chef-dev] Re: Re: Re: FreeBSD Omnibus Support
  • Date: Fri, 22 Mar 2013 09:23:10 -0700

I am on the list. =)

The OpenBSD LWRPs (just Service & Package) are pretty close to the FreeBSD counterparts in chef-core but they do not work directly on openbsd. I tried. There are subtle differences in how each handles rc.d and the pkg_* commands were also slightly different.

Additionally I did not support compiling from ports in the Openbsd::Package provider as the FreeBSD appears to support.

Getting chef 11.x to run on openbsd was pretty easy. I first looked at building an omnibus pkg on openbsd but that had all the looks of a major yak shave. So I went with a simple install of ruby193 from pkg followed by a gem install of Chef. It worked great.

It would be pretty interesting to get openbsd omnibus builds going. Scott and other's work on omnibus-freebsd builds may be a good starting point. Whatever patches openbsd's ports includes for the ruby193 package are also probably going to be pretty useful.

On Fri, Mar 22, 2013 at 9:09 AM, Pete Cheslock < " target="_blank"> > wrote:
Awesome - I know Joe Miller, who may or not be on this list, has done some work around chef and openbsd - but I believe many of the resources he's written are almost the same as would work on FreeBSD.  

Scott probably knows better there - i think he has a similar set of lwrp's for FreeBSD, and i know I would love to see them make their way into chef core (and will be happy to do any testing needed).


On Fri, Mar 22, 2013 at 11:59 AM, Scott Sanders < " target="_blank"> > wrote:
I will publish the Bento definitions and vagrant base boxes for freebsd 9.1 amd64/i386 shortly. Adding 8.x shouldn't be much work from there.

The omnibus builds I have work on FreeBSD, but the omnibus repo requires a handful of extra tweaks to get the cookbooks working to provision the vagrant build box correctly. It appears to mostly be updating package names.

The ruby build step for omnibus requires a custom patch I added to disable libexecinfo, since the autoconf scripts for libexecinfo hardcode the LDFLAGS to point to /usr/local instead of the desired /opt/chef prefix.

Follow along on the freebsd branches of the following forks:

I'm very excited to see some interest in Chef on FreeBSD!

Scott Sanders  |  Tech Operations  |  803.767.0060  |  @scott_sanders
taximagic : http://taximagic.com  |  sedanmagic : http://sedanmagic.com

On Fri, Mar 22, 2013 at 11:44 AM, Bryan McLellan < " target="_blank"> > wrote:
We're planning on adding Omnibus builds for FreeBSD. I know Pete Cheslock, Scott Sanders and Brandon Martin have worked on this, is anyone else out there working on it?

I'm presuming that libc changed between 8.x and 9.x, so we'll need four builds, one for 32-bit and one for 64-bit on both 8.x and 9.x

Bryan McLellan | opscode | technical program manager, open source
(c) 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org

Archive powered by MHonArc 2.6.16.