1CDIST-TYPE__CONSUL_WATCH_EVENT(7)    cdist   CDIST-TYPE__CONSUL_WATCH_EVENT(7)
2
3
4

NAME

6       cdist-type__consul_watch_event - Manages consul event watches
7

DESCRIPTION

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

REQUIRED PARAMETERS

14       handler
15              the handler to invoke when the data view updates
16

OPTIONAL PARAMETERS

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

EXAMPLES

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

SEE ALSO

36       cdist-type__consul_agent(7)
37
38       consul                documentation                at:               <‐
39       http://www.consul.io/docs/agent/watches.html>.
40

AUTHORS

42       Steven Armstrong <steven-cdist--@--armstrong.cc>
43

COPYING

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  Li‐
48       cense, or (at your option) any later version.
49
51       ungleich GmbH 2021
52
53
54
55
567.0.0                            Jul 31, 2022CDIST-TYPE__CONSUL_WATCH_EVENT(7)
Impressum