2015-02-24 12:10:17 +00:00
|
|
|
cdist-type__consul(7)
|
|
|
|
=====================
|
2016-06-23 14:08:59 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__consul - Install consul
|
2015-02-24 12:10:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2015-02-24 22:05:25 +00:00
|
|
|
Downloads and installs the consul binary from https://dl.bintray.com/mitchellh/consul.
|
|
|
|
Note that the consul binary is downloaded on the server (the machine running
|
2018-02-15 14:45:31 +00:00
|
|
|
cdist) and then deployed to the target host using the __file type unless --direct
|
|
|
|
parameter is used.
|
2015-02-24 12:10:17 +00:00
|
|
|
|
|
|
|
|
2015-02-24 22:05:25 +00:00
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
|
|
|
None.
|
2015-02-24 12:10:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
state
|
2015-02-24 12:10:17 +00:00
|
|
|
either 'present' or 'absent'. Defaults to 'present'
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
version
|
2015-02-24 22:05:25 +00:00
|
|
|
which version of consul to install. See ./files/versions for a list of
|
|
|
|
supported versions. Defaults to the latest known version.
|
|
|
|
|
2015-02-24 12:10:17 +00:00
|
|
|
|
2018-02-15 14:45:31 +00:00
|
|
|
BOOLEAN PARAMETERS
|
|
|
|
------------------
|
|
|
|
direct
|
|
|
|
Download and deploy consul binary directly on the target machine.
|
|
|
|
|
|
|
|
|
2018-02-21 09:00:25 +00:00
|
|
|
MESSAGES
|
|
|
|
--------
|
|
|
|
If consul binary is created using __staged_file then underlaying __file type messages are emitted.
|
|
|
|
|
|
|
|
If consul binary is created by direct method then the following messages are emitted:
|
|
|
|
/usr/local/bin/consul created
|
|
|
|
consul binary was created
|
|
|
|
|
2015-02-24 12:10:17 +00:00
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# just install using defaults
|
|
|
|
__consul
|
2015-02-24 12:10:17 +00:00
|
|
|
|
2018-02-15 14:45:31 +00:00
|
|
|
# install by downloading consul binary directly on the target machine
|
|
|
|
__consul --direct
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# specific version
|
|
|
|
__consul \
|
|
|
|
--version 0.4.1
|
2015-02-24 12:10:17 +00:00
|
|
|
|
|
|
|
|
2016-06-17 19:28:16 +00:00
|
|
|
AUTHORS
|
|
|
|
-------
|
2018-02-15 14:45:31 +00:00
|
|
|
| Steven Armstrong <steven-cdist--@--armstrong.cc>
|
|
|
|
| Darko Poljak <darko.poljak--@--gmail.com>
|
2015-02-24 12:10:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2016-08-10 16:15:54 +00:00
|
|
|
Copyright \(C) 2015 Steven Armstrong. You can redistribute it
|
|
|
|
and/or modify it under the terms of the GNU General Public License as
|
|
|
|
published by the Free Software Foundation, either version 3 of the
|
|
|
|
License, or (at your option) any later version.
|