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

NAME

6       cdist-type__consul - Install consul
7

DESCRIPTION

9       Downloads      and      installs     the     consul     binary     from
10       https://dl.bintray.com/mitchellh/consul.  Note that the  consul  binary
11       is  downloaded  on  the server (the machine running cdist) and then de‐
12       ployed to the target host using the __file type unless --direct parame‐
13       ter is used.
14

REQUIRED PARAMETERS

16       None.
17

OPTIONAL PARAMETERS

19       state  either 'present' or 'absent'. Defaults to 'present'
20
21       version
22              which  version  of consul to install. See ./files/versions for a
23              list of supported versions. Defaults to the  latest  known  ver‐
24              sion.
25

BOOLEAN PARAMETERS

27       direct Download  and  deploy  consul  binary directly on the target ma‐
28              chine.
29

MESSAGES

31       If consul binary is created using __staged_file then underlaying __file
32       type messages are emitted.
33
34       If  consul  binary  is created by direct method then the following mes‐
35       sages are emitted:
36
37       /usr/local/bin/consul created
38              consul binary was created
39

EXAMPLES

41          # just install using defaults
42          __consul
43
44          # install by downloading consul binary directly on the target machine
45          __consul --direct
46
47          # specific version
48          __consul \
49             --version 0.4.1
50

AUTHORS

52       Steven Armstrong <steven-cdist--@--armstrong.cc>
53       Darko Poljak <darko.poljak--@--gmail.com>
54
55

COPYING

57       Copyright (C) 2015 Steven Armstrong. You  can  redistribute  it  and/or
58       modify  it  under  the  terms of the GNU General Public License as pub‐
59       lished by the Free Software Foundation, either version  3  of  the  Li‐
60       cense, or (at your option) any later version.
61
63       ungleich GmbH 2020
64
65
66
67
686.9.6                            Apr 20, 2021            CDIST-TYPE__CONSUL(7)
Impressum