4 ms·
Fabric is a good example of config management as code. While all the app-specific configs are much easier to do this way, it feels like many other tasks (instal
by ivan_ah 10y ago
Fabric is a good example of config management as code. While all the app-specific configs are much easier to do this way, it feels like many other tasks (install packages, create users, etc) could be "outsourced" to some sort of shared recipe. So I guess it depends on how "custom" your deploy and configs are. If you're doing something standard, ansible/chef could be a good fit, less so if there are many tweaks etc.
If anyone is interested in pursuing fabric for their config+deploy, check out these libraries of higher-level system functions: https://github.com/sebastien/cuisine https://github.com/sebastien/cuisine or https://github.com/ronnix/fabtools https://github.com/ronnix/fabtools
- davidgerard 10y agoConfig management? We use it as a build tool. It's lovely because your DSL is Python and the Fabric bits are libs. Certainly lovely having come to it from Ant, whose DSL is Brainfuck in XML. I just wish Fabric had a decent Java story (it totally doesn't).