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

NAME

6       cdist-type__consul_watch_key - Manages consul key watches
7

DESCRIPTION

9       Generate and deploy watch definitions of type 'key' for a consul agent.
10       See http://www.consul.io/docs/agent/watches.html for parameter documen‐
11       tation.
12

REQUIRED PARAMETERS

14       handler
15              the handler to invoke when the data view updates
16
17       key    the key to watch for changes
18

OPTIONAL PARAMETERS

20       datacenter
21              can be provided to override the agent's default datacenter
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_key some-id \
29             --key foo/bar/baz \
30             --handler /usr/bin/my-key-handler.sh
31

SEE ALSO

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

AUTHORS

39       Steven Armstrong <steven-cdist--@--armstrong.cc>
40

COPYING

42       Copyright (C) 2015 Steven Armstrong. You  can  redistribute  it  and/or
43       modify  it  under  the  terms of the GNU General Public License as pub‐
44       lished by the Free Software Foundation, either version  3  of  the  Li‐
45       cense, or (at your option) any later version.
46
48       ungleich GmbH 2020
49
50
51
52
536.9.6                            Apr 20, 2021  CDIST-TYPE__CONSUL_WATCH_KEY(7)
Impressum