.\" Man page generated from reStructuredText. . .TH "CDIST-TYPE__CONSUL" "7" "Feb 16, 2019" "4.10.6" "cdist" . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH NAME .sp cdist\-type__consul \- Install consul .SH DESCRIPTION .sp Downloads and installs the consul binary from \fI\%https://dl.bintray.com/mitchellh/consul\fP\&. Note that the consul binary is downloaded on the server (the machine running cdist) and then deployed to the target host using the __file type unless \-\-direct parameter is used. .SH REQUIRED PARAMETERS .sp None. .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B state either \(aqpresent\(aq or \(aqabsent\(aq. Defaults to \(aqpresent\(aq .TP .B version which version of consul to install. See ./files/versions for a list of supported versions. Defaults to the latest known version. .UNINDENT .SH BOOLEAN PARAMETERS .INDENT 0.0 .TP .B direct Download and deploy consul binary directly on the target machine. .UNINDENT .SH MESSAGES .sp If consul binary is created using __staged_file then underlaying __file type messages are emitted. .sp If consul binary is created by direct method then the following messages are emitted: .INDENT 0.0 .TP .B /usr/local/bin/consul created consul binary was created .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C # just install using defaults __consul # install by downloading consul binary directly on the target machine __consul \-\-direct # specific version __consul \e \-\-version 0.4.1 .ft P .fi .UNINDENT .UNINDENT .SH AUTHORS .nf Steven Armstrong <\fI\%steven\-cdist\-\-@\-\-armstrong.cc\fP> Darko Poljak <\fI\%darko.poljak\-\-@\-\-gmail.com\fP> .fi .sp .SH COPYING .sp 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. .\" Generated by docutils manpage writer. .