<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>bcfg2-info — Bcfg2 1.3.0 documentation</title> <link rel="stylesheet" href="../_static/default.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '1.3.0', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </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 type="text/javascript" src="../_static/sidebar.js"></script> <link rel="shortcut icon" href="../_static/favicon.ico"/> <link rel="top" title="Bcfg2 1.3.0 documentation" href="../index.html" /> <link rel="up" title="Man Pages" href="index.html" /> <link rel="next" title="bcfg2-lint" href="bcfg2-lint.html" /> <link rel="prev" title="bcfg2-crypt" href="bcfg2-crypt.html" /> <link rel="stylesheet" href="../_static/bcfg2.css" type=""/> </head> <body> <div style="text-align: left; padding: 10px 10px 15px 15px"> <a href="../index.html"><img src="../_static/bcfg2_logo.png" border="0" alt="sampledoc"/></a> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="bcfg2-lint.html" title="bcfg2-lint" accesskey="N">next</a> |</li> <li class="right" > <a href="bcfg2-crypt.html" title="bcfg2-crypt" accesskey="P">previous</a> |</li> <li><a href="../index.html">home</a> | </li> <!--<li><a href="../search.html">search</a> | </li>--> <li><a href="../help/index.html">help</a> | </li> <li><a href="../contents.html">documentation </a> »</li> <li><a href="../contents.html" >Bcfg2 documentation 1.3.0</a> »</li> <li><a href="index.html" accesskey="U">Man Pages</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="bcfg2-info"> <h1>bcfg2-info<a class="headerlink" href="#bcfg2-info" title="Permalink to this headline">¶</a></h1> <div class="section" id="synopsis"> <h2>Synopsis<a class="headerlink" href="#synopsis" title="Permalink to this headline">¶</a></h2> <p><strong>bcfg2-info</strong> [-C <em>configfile</em>] [-E <em>encoding</em>] [-Q <em>repository path</em>] [-h] [-p] [-x <em>password</em>] [<em>mode</em>] [<em>mode args</em>] [<em>mode options</em>]</p> </div> <div class="section" id="description"> <h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2> <p><strong class="program">bcfg2-info</strong> instantiates an instance of the Bcfg2 core for data examination and debugging purposes.</p> </div> <div class="section" id="options"> <h2>Options<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2> <table class="docutils option-list" frame="void" rules="none"> <col class="option" /> <col class="description" /> <tbody valign="top"> <tr><td class="option-group"> <kbd><span class="option">-C <var>configfile</var></span></kbd></td> <td>Specify alternate bcfg2.conf location.</td></tr> <tr><td class="option-group"> <kbd><span class="option">-E <var>encoding</var></span></kbd></td> <td>Specify the encoding of config files.</td></tr> <tr><td class="option-group"> <kbd><span class="option">-Q <var>path</var></span></kbd></td> <td>Specify the path to the server repository.</td></tr> <tr><td class="option-group"> <kbd><span class="option">-d</span></kbd></td> <td>Enable debugging output.</td></tr> <tr><td class="option-group"> <kbd><span class="option">-h</span></kbd></td> <td>Print usage information.</td></tr> <tr><td class="option-group"> <kbd><span class="option">-p <var>profile</var></span></kbd></td> <td>Specify a profile.</td></tr> <tr><td class="option-group"> <kbd><span class="option">-x <var>password</var></span></kbd></td> <td>Use ‘password’ for client communication.</td></tr> </tbody> </table> </div> <div class="section" id="modes"> <h2>Modes<a class="headerlink" href="#modes" title="Permalink to this headline">¶</a></h2> <dl class="docutils"> <dt>build <em>hostname</em> <em>filename</em></dt> <dd>Build config for hostname, writing to filename.</dd> <dt>buildall <em>directory</em></dt> <dd>Build configs for all clients in directory.</dd> <dt>buildallfile <em>directory</em> <em>filename</em> [<em>hostnames</em>]</dt> <dd>Build config file for all clients in directory.</dd> <dt>buildbundle <em>filename</em> <em>hostname</em></dt> <dd>Build bundle for hostname (not written to disk). If filename is a bundle template, it is rendered.</dd> <dt>builddir <em>hostname</em> <em>dirname</em></dt> <dd>Build config for hostname, writing separate files to dirname.</dd> <dt>buildfile [–altsrc=*altsrc*] <em>filename</em> <em>hostname</em></dt> <dd>Build config file for hostname (not written to disk).</dd> <dt>bundles</dt> <dd>Print out group/bundle information.</dd> <dt>clients</dt> <dd>Print out client/profile information.</dd> <dt>config</dt> <dd>Print out the configuration of the Bcfg2 server.</dd> <dt>debug</dt> <dd>Shell out to native python interpreter.</dd> <dt>event_debug</dt> <dd>Display filesystem events as they are processed.</dd> <dt>groups</dt> <dd>List groups.</dd> <dt>help</dt> <dd>Print the list of available commands.</dd> <dt>mappings [<em>entry type</em>] [<em>entry name</em>]</dt> <dd>Print generator mappings for optional type and name.</dd> <dt>packageresolve <em>hostname</em> <em>package</em> [<em>package</em>...]</dt> <dd>Resolve the specified set of packages.</dd> <dt>packagesources <em>hostname</em></dt> <dd>Show package sources.</dd> <dt>profile <em>command</em> <em>args</em></dt> <dd>Profile a single bcfg2-info command.</dd> <dt>quit</dt> <dd>Exit bcfg2-info command line.</dd> <dt>showentries <em>hostname</em> <em>type</em></dt> <dd>Show abstract configuration entries for a given host.</dd> <dt>showclient <em>client1</em> <em>client2</em></dt> <dd>Show metadata for given hosts.</dd> <dt>update</dt> <dd>Process pending file events.</dd> <dt>version</dt> <dd>Print version of this tool.</dd> </dl> </div> <div class="section" id="see-also"> <h2>See Also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2> <p><em class="manpage">bcfg2(1)</em>, <em class="manpage">bcfg2-server(8)</em></p> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="../index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">bcfg2-info</a><ul> <li><a class="reference internal" href="#synopsis">Synopsis</a></li> <li><a class="reference internal" href="#description">Description</a></li> <li><a class="reference internal" href="#options">Options</a></li> <li><a class="reference internal" href="#modes">Modes</a></li> <li><a class="reference internal" href="#see-also">See Also</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="bcfg2-crypt.html" title="previous chapter">bcfg2-crypt</a></p> <h4>Next topic</h4> <p class="topless"><a href="bcfg2-lint.html" title="next chapter">bcfg2-lint</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/man/bcfg2-info.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="bcfg2-lint.html" title="bcfg2-lint" >next</a> |</li> <li class="right" > <a href="bcfg2-crypt.html" title="bcfg2-crypt" >previous</a> |</li> <li><a href="../index.html">home</a> | </li> <!--<li><a href="../search.html">search</a> | </li>--> <li><a href="../help/index.html">help</a> | </li> <li><a href="../contents.html">documentation </a> »</li> <li><a href="../contents.html" >Bcfg2 documentation 1.3.0</a> »</li> <li><a href="index.html" >Man Pages</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2013, Narayan Desai. Last updated on Mar 20, 2013. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>