18. Trigger

18.1. Description

cdist supports triggering for host installation/configuration using trigger command. This command starts trigger server at management node, for example:

$ cdist trigger -b -v

This will start cdist trigger server in verbose mode. cdist trigger server accepts simple requests for configuration and for installation:

  • /install/.* for installation
  • /config/.* for configuration.

Machines can then trigger cdist trigger server with appropriate requests. If the request is, for example, for installation (/install/) then cdist trigger server will start install command for the client host using parameters specified at trigger server startup. For the above example that means that client will be installed using default initial manifest.