336 lines
12 KiB
HTML
336 lines
12 KiB
HTML
|
|
||
|
|
||
|
<!DOCTYPE html>
|
||
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
||
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
||
|
<title>11. cdist-dump(1) — cdist 4.10.10 documentation</title>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||
|
<link rel="index" title="Index" href="../genindex.html" />
|
||
|
<link rel="search" title="Search" href="../search.html" />
|
||
|
<link rel="next" title="12. Bootstrap" href="../cdist-bootstrap.html" />
|
||
|
<link rel="prev" title="10. cdist(1)" href="cdist.html" />
|
||
|
|
||
|
|
||
|
<script src="../_static/js/modernizr.min.js"></script>
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body class="wy-body-for-nav">
|
||
|
|
||
|
|
||
|
<div class="wy-grid-for-nav">
|
||
|
|
||
|
|
||
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
||
|
<div class="wy-side-scroll">
|
||
|
<div class="wy-side-nav-search">
|
||
|
|
||
|
|
||
|
|
||
|
<a href="../index.html" class="icon icon-home"> cdist
|
||
|
|
||
|
|
||
|
|
||
|
</a>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<div class="version">
|
||
|
4.10.10
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<div role="search">
|
||
|
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||
|
<input type="text" name="q" placeholder="Search docs" />
|
||
|
<input type="hidden" name="check_keywords" value="yes" />
|
||
|
<input type="hidden" name="area" value="default" />
|
||
|
</form>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<ul class="current">
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-intro.html">1. cdist - usable configuration management</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-why.html">2. Why should I use cdist?</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-os.html">3. Supported Operating Systems</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-install.html">4. How to install cdist</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-update.html">5. How to update cdist</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-support.html">6. Support</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-features.html">7. Features</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-quickstart.html">8. Quickstart</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-real-world.html">9. Dive into real world cdist</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="cdist.html">10. cdist(1)</a></li>
|
||
|
<li class="toctree-l1 current"><a class="current reference internal" href="#">11. cdist-dump(1)</a><ul>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="#name">11.1. NAME</a></li>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="#synopsis">11.2. SYNOPSIS</a></li>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="#description">11.3. DESCRIPTION</a></li>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="#options">11.4. OPTIONS</a></li>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="#examples">11.5. EXAMPLES</a></li>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="#see-also">11.6. SEE ALSO</a></li>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="#authors">11.7. AUTHORS</a></li>
|
||
|
<li class="toctree-l2"><a class="reference internal" href="#copying">11.8. COPYING</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-bootstrap.html">12. Bootstrap</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-configuration.html">13. Configuration</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-manifest.html">14. Manifest</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-type.html">15. cdist type</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-types.html">16. cdist types</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-explorer.html">17. Explorer</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-messaging.html">18. Messaging</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-parallelization.html">19. Parallelization</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-inventory.html">20. Inventory</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-trigger.html">21. Trigger</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-preos.html">22. PreOS</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-integration.html">23. cdist integration / using cdist as library</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-reference.html">24. Reference</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-best-practice.html">25. Best practice</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-stages.html">26. Execution stages</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-cache.html">27. Local cache overview</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-saving-output-streams.html">28. Saving output streams</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-remote-exec-copy.html">29. Remote exec and copy commands</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-hacker.html">30. Hacking</a></li>
|
||
|
<li class="toctree-l1"><a class="reference internal" href="../cdist-troubleshooting.html">31. Troubleshooting</a></li>
|
||
|
</ul>
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</nav>
|
||
|
|
||
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
||
|
|
||
|
|
||
|
<nav class="wy-nav-top" aria-label="top navigation">
|
||
|
|
||
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
||
|
<a href="../index.html">cdist</a>
|
||
|
|
||
|
</nav>
|
||
|
|
||
|
|
||
|
<div class="wy-nav-content">
|
||
|
|
||
|
<div class="rst-content">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<div role="navigation" aria-label="breadcrumbs navigation">
|
||
|
|
||
|
<ul class="wy-breadcrumbs">
|
||
|
|
||
|
<li><a href="../index.html">Docs</a> »</li>
|
||
|
|
||
|
<li>11. cdist-dump(1)</li>
|
||
|
|
||
|
|
||
|
<li class="wy-breadcrumbs-aside">
|
||
|
|
||
|
|
||
|
<a href="../_sources/man1/cdist-dump.rst.txt" rel="nofollow"> View page source</a>
|
||
|
|
||
|
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
|
||
|
<hr/>
|
||
|
</div>
|
||
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||
|
<div itemprop="articleBody">
|
||
|
|
||
|
<div class="section" id="cdist-dump-1">
|
||
|
<h1>11. cdist-dump(1)<a class="headerlink" href="#cdist-dump-1" title="Permalink to this headline">¶</a></h1>
|
||
|
<div class="section" id="name">
|
||
|
<h2>11.1. NAME<a class="headerlink" href="#name" title="Permalink to this headline">¶</a></h2>
|
||
|
<p>cdist-dump - Dump data from local cdist cache</p>
|
||
|
</div>
|
||
|
<div class="section" id="synopsis">
|
||
|
<h2>11.2. SYNOPSIS<a class="headerlink" href="#synopsis" title="Permalink to this headline">¶</a></h2>
|
||
|
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">cdist</span><span class="o">-</span><span class="n">dump</span> <span class="p">[</span><span class="n">options</span><span class="p">]</span> <span class="p">[</span><span class="n">host</span><span class="o">...</span><span class="p">]</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="section" id="description">
|
||
|
<h2>11.3. DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
|
||
|
<p>cdist-dump is a helper script that dumps data from local cdist cache for
|
||
|
specified hosts. If host is not specified then all data from cache directory
|
||
|
is dumped. Default cache directory is '~/.cdist/cache'.</p>
|
||
|
<p>cdist-dump can be used for debugging existing types, host configuration and
|
||
|
new types.</p>
|
||
|
</div>
|
||
|
<div class="section" id="options">
|
||
|
<h2>11.4. OPTIONS<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2>
|
||
|
<dl class="docutils">
|
||
|
<dt><strong>-a</strong></dt>
|
||
|
<dd>dump all</dd>
|
||
|
<dt><strong>-C CACHE-DIR</strong></dt>
|
||
|
<dd>use specified CACHE-DIR (default: ~/.cdist/cache)</dd>
|
||
|
<dt><strong>-c</strong></dt>
|
||
|
<dd>dump code-*</dd>
|
||
|
<dt><strong>-d DELIMITER</strong></dt>
|
||
|
<dd>delimiter used for filename and line number prefix (default: ':')</dd>
|
||
|
<dt><strong>-E</strong></dt>
|
||
|
<dd>dump global explorers</dd>
|
||
|
<dt><strong>-e</strong></dt>
|
||
|
<dd>dump type explorers</dd>
|
||
|
<dt><strong>-F</strong></dt>
|
||
|
<dd>disable filename prefix (enabled by default)</dd>
|
||
|
<dt><strong>-f</strong></dt>
|
||
|
<dd>enable filename prefix (default)</dd>
|
||
|
<dt><strong>-g</strong></dt>
|
||
|
<dd>dump gencode-*</dd>
|
||
|
<dt><strong>-h</strong></dt>
|
||
|
<dd>show this help screen and exit</dd>
|
||
|
<dt><strong>-L</strong></dt>
|
||
|
<dd>disable line number prefix (default)</dd>
|
||
|
<dt><strong>-l</strong></dt>
|
||
|
<dd>enable line number prefix (disabled by default)</dd>
|
||
|
<dt><strong>-m</strong></dt>
|
||
|
<dd>dump messages</dd>
|
||
|
<dt><strong>-o</strong></dt>
|
||
|
<dd>dump executions' stdout</dd>
|
||
|
<dt><strong>-p</strong></dt>
|
||
|
<dd>dump parameters</dd>
|
||
|
<dt><strong>-r</strong></dt>
|
||
|
<dd>dump executions' stderr</dd>
|
||
|
<dt><strong>-V</strong></dt>
|
||
|
<dd>show version and exit</dd>
|
||
|
<dt><strong>-v</strong></dt>
|
||
|
<dd>increase verbosity</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<div class="section" id="examples">
|
||
|
<h2>11.5. EXAMPLES<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
|
||
|
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span><span class="c1"># Dump all</span>
|
||
|
% cdist-dump -a
|
||
|
|
||
|
<span class="c1"># Dump only code-* output</span>
|
||
|
% cdist-dump -c
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="section" id="see-also">
|
||
|
<h2>11.6. SEE ALSO<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
||
|
<p><strong>cdist</strong>(1)</p>
|
||
|
</div>
|
||
|
<div class="section" id="authors">
|
||
|
<h2>11.7. AUTHORS<a class="headerlink" href="#authors" title="Permalink to this headline">¶</a></h2>
|
||
|
<p>Darko Poljak <<a class="reference external" href="mailto:darko.poljak--%40--ungleich.ch">darko<span>.</span>poljak--<span>@</span>--ungleich<span>.</span>ch</a>></p>
|
||
|
</div>
|
||
|
<div class="section" id="copying">
|
||
|
<h2>11.8. COPYING<a class="headerlink" href="#copying" title="Permalink to this headline">¶</a></h2>
|
||
|
<p>Copyright (C) 2019 Darko Poljak. Free use of this software is
|
||
|
granted under the terms of the GNU General Public License v3 or later (GPLv3+).</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<footer>
|
||
|
|
||
|
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
||
|
|
||
|
<a href="../cdist-bootstrap.html" class="btn btn-neutral float-right" title="12. Bootstrap" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
||
|
|
||
|
|
||
|
<a href="cdist.html" class="btn btn-neutral" title="10. cdist(1)" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<hr/>
|
||
|
|
||
|
<div role="contentinfo">
|
||
|
<p>
|
||
|
© Copyright
|
||
|
|
||
|
</p>
|
||
|
</div>
|
||
|
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
||
|
|
||
|
</footer>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</section>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
|
||
|
<script type="text/javascript" src="../_static/jquery.js"></script>
|
||
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
||
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
||
|
<script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<script type="text/javascript" src="../_static/js/theme.js"></script>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
jQuery(function () {
|
||
|
SphinxRtdTheme.Navigation.enable(true);
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
</body>
|
||
|
</html>
|