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

NAME

6       cdist-type__check_messages  -  Check  messages  for pattern and execute
7       command on match.
8

DESCRIPTION

10       Check messages for pattern and execute command on match.
11
12       This type is useful if you chain together multiple related types  using
13       dependencies  and  want to restart service if at least one type changes
14       something.
15
16       For more information about messages see cdist messaging.
17
18       For more information about dependencies and execution order  see  cdist
19       manifest documentation.
20

REQUIRED PARAMETERS

22       pattern
23              Extended  regular  expression pattern for search (passed to grep
24              -E).
25
26       execute
27              Command to execute on pattern match.
28

EXAMPLES

30          __check_messages munin \
31              --pattern '^__(file|link|line)/etc/munin/' \
32              --execute 'service munin-node restart'
33

AUTHORS

35       Ander Punnar <ander-at-kvlt-dot-ee>
36

COPYING

38       Copyright (C) 2019 Ander Punnar. You can redistribute it and/or  modify
39       it  under  the  terms of the GNU General Public License as published by
40       the Free Software Foundation, either version 3 of the License,  or  (at
41       your option) any later version.
42
44       ungleich GmbH 2019
45
46
47
48
496.4.0                            Jan 04, 2020    CDIST-TYPE__CHECK_MESSAGES(7)
Impressum