CDIST-TYPE__CONSUL(7)
π cdist-type__consul β it's giving "install consul" β¨
okay bestie, welcome to cdist-type__consul from the cdist manual, section 7 π. this one's short, sweet, and honestly kinda iconic. let's get into it π¦
πΈ NAME πΈ
cdist-type__consul β install consul. that's it. that's the whole vibe. π
β¨ DESCRIPTION β¨
so what it does is: it downloads and installs the consul binary from
https://dl.bintray.com/mitchellh/consul
and here's the little detail that matters, no cap: the consul binary gets downloaded on the server β like, the machine that's running cdist β and then it gets deployed over to the target host using the __file type. that's the default flow π«Ά.
unless you pass the --direct parameter. then it's a whole different route, bestie. π
π REQUIRED PARAMETERS π
None. zero. nada. she needs nothing from you. lowkey the dream ππ
π OPTIONAL PARAMETERS π
stateβ either'present'or'absent'. defaults to'present'. so if you say nothing, she's showing up πversionβ which version of consul to install. check out./files/versionsfor a list of the supported versions, iykyk. defaults to the latest known version. π
π BOOLEAN PARAMETERS π
directβ download and deploy the consul binary directly on the target machine. skipping the whole server-detour situation. periodt. π₯
π MESSAGES π
so depending on how the binary gets made, you get different messages, and honestly? relatable, different paths different energy.
if the consul binary is created using __staged_file, then the underlaying __file type messages are emitted. π¬
if the consul binary is created by the direct method, then this one gets emitted:
/usr/local/bin/consul createdβ consul binary was created. slay. π β¨
π EXAMPLES π
here's the good stuff. copy these exactly, bestie, don't freestyle the flags π
# just install using defaults
__consul
# install by downloading consul binary directly on the target machine
__consul --direct
# specific version
__consul \
--version 0.4.1
π AUTHORS π
the legends behind this one:
- Steven Armstrong
<steven-cdist--@--armstrong.cc> - Darko Poljak
<darko.poljak--@--gmail.com>
π¦ COPYING π¦
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. πβ¨
π COPYRIGHT π
ungleich GmbH 2021. okay periodt, legal girlies ate that one. π
and that's the whole page, bestie π«Ά this was cdist-type__consul(7), version 7.0.0, dated Jul 31, 2022 β mwah, love that for us, bye! π ππΈ
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms