FreeNAS and Chef

Oh, I'm sorry, I just saw you replied to this... dunno how I missed it (maybe I turned off "Send replies").

Ultimately, what I want to do is install a 3rd party agent on the BASE FreeNAS OS.

You can enable DHCP but I don't know why one would want to... But, basically everything can be accomplished from cli

No, I get that. But it's kind of a pain in the ass to log into the GUI to create a dataset for instance. Or start a disk import (especially because the webgui doesn't update status at all logically...).

For instance, I can start/stop all my plugins/jails with iocage start/iocage stop and can create iocage jails similarly, but I don't seem to be able to create iocage jails with DHCP/Virtual interfaces.

Are you talking about installing onto the base OS?

Yep. Exactly. Essentially, what I want is for Chef to run my commands for me. (If we're being totally honest, I don't even want to run commands by hand I want to describe what I want in "Chef" and let it "run the commands" for me)

This shouldn't be done as all changes will be lost during any sort of upgrade.

Yea, I get it. I don't care about should. And if the process is "Upgrade FreeNAS, reinstall Chef Client" I'm totally ok with that.

If you need to configure something to be the Chef server

Unfortunately, Chef Server only runs on select flavours of Linux, and I don't really have any desire to put in the time to make it run on FreeNAS/BSD as I'd just run it in a VM.

do it in a jail.

Ok, I would like to take a second and espouse my love for iocage jails. They are pretty slick. and I have questions about templating and automating THOSE but for another time.

Other than that, external host and manage over ssh.

I really don't want to do that.

/r/freenas Thread Parent