ChefDK for Freebsd?

Where would I start if I wanted to try and get ChefDK built for FreeBSD?

Here is where I’d start: I’d edit https://github.com/chef/chef-dk/blob/master/omnibus/.kitchen.yml and add a platform for freebsd. Take a look at https://github.com/chef-cookbooks/omnibus/blob/master/.kitchen.yml and copy the appropriate freebsd version platform config. Then from chef-dk/omnibus run kitchen converge for your freebsd platform and that should create a VM with a omnibus build environment where you can build chef-dk.

Have a read of https://github.com/chef/chef-dk/blob/master/omnibus/README.md for pointers on getting started with the omnibus build commands.

I’m pretty confident there will be rough spots (ie wont build the first time, but who knows). https://github.com/chef/chef-dk/blob/master/omnibus/config/projects/chefdk.rb is the file that “drives” the build. Since chef-client does build for freebsd you might want to look at the equivilent file in the chef repo https://github.com/chef/chef/blob/master/omnibus/config/projects/chef.rb.

Good luck!

I wrote a blog post on what you need to do to do it. It’s not that hard actually.
http://bunnyman.info/posts/2016/Aug/02/chef-dk-on-freebsd/

Thanks everyone, this should get me going.