| 1 |
cdist-dump(1) |
| 2 |
============= |
| 3 |
|
| 4 |
NAME |
| 5 |
---- |
| 6 |
cdist-dump - Dump data from local cdist cache |
| 7 |
|
| 8 |
|
| 9 |
SYNOPSIS |
| 10 |
-------- |
| 11 |
|
| 12 |
:: |
| 13 |
|
| 14 |
cdist-dump [options] [host...] |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
DESCRIPTION |
| 19 |
----------- |
| 20 |
cdist-dump is a helper script that dumps data from local cdist cache for |
| 21 |
specified hosts. If host is not specified then all data from cache directory |
| 22 |
is dumped. Default cache directory is '~/.cdist/cache'. |
| 23 |
|
| 24 |
cdist-dump can be used for debugging existing types, host configuration and |
| 25 |
new types. |
| 26 |
|
| 27 |
|
| 28 |
OPTIONS |
| 29 |
------- |
| 30 |
**-a** |
| 31 |
dump all |
| 32 |
|
| 33 |
**-C CACHE-DIR** |
| 34 |
use specified CACHE-DIR (default: ~/.cdist/cache) |
| 35 |
|
| 36 |
**-c** |
| 37 |
dump code-* |
| 38 |
|
| 39 |
**-d DELIMITER** |
| 40 |
delimiter used for filename and line number prefix (default: ':') |
| 41 |
|
| 42 |
**-E** |
| 43 |
dump global explorers |
| 44 |
|
| 45 |
**-e** |
| 46 |
dump type explorers |
| 47 |
|
| 48 |
**-F** |
| 49 |
disable filename prefix (enabled by default) |
| 50 |
|
| 51 |
**-f** |
| 52 |
enable filename prefix (default) |
| 53 |
|
| 54 |
**-g** |
| 55 |
dump gencode-* |
| 56 |
|
| 57 |
**-h** |
| 58 |
show this help screen and exit |
| 59 |
|
| 60 |
**-L** |
| 61 |
disable line number prefix (default) |
| 62 |
|
| 63 |
**-l** |
| 64 |
enable line number prefix (disabled by default) |
| 65 |
|
| 66 |
**-m** |
| 67 |
dump messages |
| 68 |
|
| 69 |
**-o** |
| 70 |
dump executions' stdout |
| 71 |
|
| 72 |
**-p** |
| 73 |
dump parameters |
| 74 |
|
| 75 |
**-r** |
| 76 |
dump executions' stderr |
| 77 |
|
| 78 |
**-V** |
| 79 |
show version and exit |
| 80 |
|
| 81 |
**-v** |
| 82 |
increase verbosity |
| 83 |
|
| 84 |
|
| 85 |
EXAMPLES |
| 86 |
-------- |
| 87 |
|
| 88 |
.. code-block:: sh |
| 89 |
|
| 90 |
# Dump all |
| 91 |
% cdist-dump -a |
| 92 |
|
| 93 |
# Dump only code-* output |
| 94 |
% cdist-dump -c |
| 95 |
|
| 96 |
|
| 97 |
SEE ALSO |
| 98 |
-------- |
| 99 |
:strong:`cdist`\ (1) |
| 100 |
|
| 101 |
|
| 102 |
AUTHORS |
| 103 |
------- |
| 104 |
Darko Poljak <[email protected]> |
| 105 |
|
| 106 |
|
| 107 |
COPYING |
| 108 |
------- |
| 109 |
Copyright \(C) 2019 Darko Poljak. Free use of this software is |
| 110 |
granted under the terms of the GNU General Public License v3 or later (GPLv3+). |