1CDIST-TYPE__CONSUL_WATCH_KEYPREFIX(7)cdistCDIST-TYPE__CONSUL_WATCH_KEYPREFIX(7)
2
3
4
6 cdist-type__consul_watch_keyprefix - Manages consul keyprefix watches
7
9 Generate and deploy watch definitions of type 'keyprefix' 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
17 prefix the prefix of keys to watch for changes
18
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
28 __consul_watch_keyprefix some-id \
29 --prefix foo/ \
30 --handler /usr/bin/my-prefix-handler.sh
31
33 cdist-type__consul_agent(7)
34
35 consul documentation at: <‐
36 http://www.consul.io/docs/agent/watches.html>.
37
39 Steven Armstrong <steven-cdist--@--armstrong.cc>
40
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
45 License, or (at your option) any later version.
46
48 ungleich GmbH 2019
49
50
51
52
536.3.0 Dec 12, 2C0D1I9ST-TYPE__CONSUL_WATCH_KEYPREFIX(7)