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 [zam]
.
-
Move the
agents
directory intoZOE_HOME/
-
Move the
cmdproc
directory intoZOE_HOME/
-
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.
The etc/zam/
directory contains the agent's configuration files, including a list of agents and their files.
-
The
etc/zam/list
file is a list of agents for which the source URL is known and their status (installed, version). -
The
etc/zam/info
directory can contain two types of files: the*.conffiles
contain a list of configuration files for the agent. These files will only be removed if the agent is uninstalled usingpurge
. The*.list
contain a list of regular files for the agent. These files are removed when uninstalling an agent normally.
Now, for a proper list of actions:
add
an agent to the repository (without installing)clean
the temporary directoryinstall
an agentlaunch
an agent (done automatically when an agent is installed)purge
an agent, removing/uninstalling it and all its configuration filesremove/uninstall
an agentremove
an agent from the agent listrestart
a running agentstop
a running agentupdate
an agent
For examples and more information on the commands, please check the wiki.
Again, check the wiki :)