... | ... | @@ -17,6 +17,13 @@ documented. |
|
|
|
|
|
## Installation
|
|
|
|
|
|
### Virtualenv / pip
|
|
|
|
|
|
If Cumin is not available from your normal packages (see [bug 924685][]
|
|
|
for Debian), you must install it in a [Python virtualenv][].
|
|
|
|
|
|
[bug 924685]: https://bugs.debian.org/924685
|
|
|
|
|
|
First, install dependencies, Cumin and some patches:
|
|
|
|
|
|
sudo apt install python3-colorama python3-clustershell python3-pyparsing python3-requests python3-tqdm python3-yaml python3-tqdm
|
... | ... | @@ -24,9 +31,6 @@ First, install dependencies, Cumin and some patches: |
|
|
~/.virtualenvs/cumin/bin/pip3 install cumin
|
|
|
~/.virtualenvs/cumin/bin/pip3 uninstall tqdm pyparsing clustershell # force using trusted system packages
|
|
|
|
|
|
Notice how Cumin is installed in a [Python virtualenv][]: it is not
|
|
|
yet [in Debian][].
|
|
|
|
|
|
Then drop the following configuration in
|
|
|
`~/.config/cumin/config.yaml`:
|
|
|
|
... | ... | @@ -75,7 +79,6 @@ and will simply show which hosts match the request: |
|
|
|
|
|
[root check]: https://phabricator.wikimedia.org/T218440
|
|
|
[this bug report]: https://phabricator.wikimedia.org/T218441
|
|
|
[in Debian]: https://bugs.debian.org/924685
|
|
|
[Python virtualenv]: https://virtualenv.pypa.io/
|
|
|
[briefly described in the Wikimedia docs]: https://wikitech.wikimedia.org/wiki/Cumin#PuppetDB_host_selection
|
|
|
[parallel-ssh]: https://code.google.com/archive/p/parallel-ssh/
|
... | ... | |