Cuisine
The JumpScale implementation of Cuisine is a fork of the original Cuisine as available on GitHub: https://github.com/sebastien/cuisine
Cuisine provides Chef software-like functionality for Fabric.
Cuisine makes it easy to automate server installations and create configuration recipes by wrapping common administrative tasks, such as installing packages and creating users and groups, in Python functions.
Cuisine takes an executor
object as an argument, through which you connect locally or remotely.
Local
executor = j.tools.executor.getLocal()
cuisine = j.tools.cuisine.get(executor)
# or simply j.tools.cuisine.local
Remote
executor = j.tools.executor.getSSHBased(addr, port, login, passwd)
cuisine = j.tools.cuisine.get(executor)