Re:Ask HN: How do you handle configuration management?
by jsntrmn on Thursday February 15, 2018 @07:51PM
(#16389102)
I've been writing so much boring backend Java for so long... Some Python would be a sorely needed breath of fresh air. Thanks for pointing me in this direction. I might just play around with it on my homelab for the fun of it!
http://www.fabfile.org/
Works over SSH. Uses pure Python. No need to deploy and configure minions/agents/etc.
Fabric also benefits from being highly composable. Since it's python, you can parametrize and reuse functions and create class-based tasks [1]
Want to use Fabric with python 3? Here is a fork with Python 3 support: https://github.com/mathiasertl/fabric/
If you use fabtools, I maintain a fork of it for fabric3: https://github.com/develtech/fabtools/tree/fabric3
[1] http://docs.fabfile.org/en/1.14/usage/tasks.html#task-subcla...