16.16. cdist-type__cdist_preos_trigger(7)

16.16.1. NAME

cdist-type__cdist_preos_trigger - configure cdist preos trigger

16.16.2. DESCRIPTION

Create cdist PreOS trigger by creating systemd unit file that will be started at boot and will execute trigger command - connect to specified host and port.

16.16.3. REQUIRED PARAMETERS

trigger-command

Command that will be executed as a PreOS cdist trigger.

16.16.4. OPTIONAL PARAMETERS

None

16.16.5. EXAMPLES

# Configure default curl trigger for host cdist.ungleich.ch at port 80.
__cdist_preos_trigger http --trigger-command '/usr/bin/curl cdist.ungleich.ch:80'

16.16.6. AUTHORS

Darko Poljak <darko.poljak--@--ungleich.ch>

16.16.7. COPYING

Copyright (C) 2016 Darko Poljak. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.