(no title)
ar-nelson | 2 years ago
Docker is less elegant than jails in a lot of ways, but not having to figure out how to install each service on your own is a huge advantage.
I tried using Ansible to set all of my services up, and it really didn't work. Probably because I was using a different machine as the Ansible controller, and there is no Ansible plugin to connect to jails on a remote machine. I tried writing my own, and it just barely worked, but with a lot of bugs I could never fully track down (because Ansible's internals aren't documented at all). Eventually it just wasn't worth it to keep trying to use FreeBSD.
craftkiller|2 years ago
FreeBSD does have that tool, its BastilleBSD: https://bastillebsd.org/
For example, this is the Bastillefile for running consul: https://gitlab.com/bastillebsd-templates/consul/-/blob/maste...
> And they don't have a way (that I know of) to write a config file describing a bunch of jails and services, then run that file and install all of those services on a new machine
Sounds like you want to use pot with nomad: https://klarasystems.com/articles/cluster-provisioning-with-...
tcmart14|2 years ago
[1] https://github.com/cbsd/cbsd
stonogo|2 years ago
I'm not disagreeing with your assessment -- nobody knows better than you which software you want to use! -- so much as listing options for anyone reading.
But I find it interesting how far ahead of its time FreeBSD was on this, and how badly it appears to have fumbled this ball. The official documentation still recommends ezjail, which is not good. Just another example, I guess, of "writing the code isn't enough."
Gud|2 years ago