1CDIST-TYPE__CONSUL_WATCH_EVENT(7) cdist CDIST-TYPE__CONSUL_WATCH_EVENT(7)
2
3
4
6 cdist-type__consul_watch_event - Manages consul event watches
7
9 Generate and deploy watch definitions of type 'event' for a consul
10 agent. See http://www.consul.io/docs/agent/watches.html for parameter
11 documentation.
12
14 handler
15 the handler to invoke when the data view updates
16
18 datacenter
19 can be provided to override the agent's default datacenter
20
21 name restrict the watch to only events with the given name
22
23 state if this watch is 'present' or 'absent'. Defaults to 'present'.
24
25 token can be provided to override the agent's default ACL token
26
28 __consul_watch_event some-id \
29 --handler /usr/bin/my-handler.sh
30
31 __consul_watch_event some-id \
32 --name web-deploy \
33 --handler /usr/bin/my-handler.sh
34
36 cdist-type__consul_agent(7)
37
38 consul documentation at: <‐
39 http://www.consul.io/docs/agent/watches.html>.
40
42 Steven Armstrong <steven-cdist--@--armstrong.cc>
43
45 Copyright (C) 2015 Steven Armstrong. You can redistribute it and/or
46 modify it under the terms of the GNU General Public License as pub‐
47 lished by the Free Software Foundation, either version 3 of the
48 License, or (at your option) any later version.
49
51 ungleich GmbH 2020
52
53
54
55
566.9.4 Dec 21, 2020CDIST-TYPE__CONSUL_WATCH_EVENT(7)