An agent manager for Zoe.
This agent requires git in order to work.
Clone or download the source code from this repository.
Open a terminal in the directory in which you downloaded the source and run the following:
$ export ZOE_HOME=PATH_TO_YOUR_ZOE_INSTALLATION $ chmod +x zam/preinst $ zam/preinst
This will download the dependencies and create the configuration directories. Check that the
etc/zam/list file contains only one entry named
Add the following to the etc/zoe.conf file (you can choose the port):
[agent zam] port = YOUR_PORT
- Next time you start the server, the agent should be up and running.
What can the agent do?
etc/zam/ directory contains the agent's configuration files, including a list of agents and their files.
etc/zam/listfile is a list of agents for which the source URL is known and their status (installed, version).
etc/zam/infodirectory can contain two types of files: the
*.conffilescontain a list of configuration files for the agent. These files will only be removed if the agent is uninstalled using
*.listcontain a list of regular files for the agent. These files are removed when uninstalling an agent normally.
Now, for a proper list of actions:
addan agent to the repository (without installing)
cleanthe temporary directory
launchan agent (done automatically when an agent is installed)
purgean agent, removing/uninstalling it and all its configuration files
removean agent from the agent list
restarta running agent
stopa running agent
For examples and more information on the commands, please check the wiki.
That's nice, but how do I make my agent installable?
Again, check the wiki :)