Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates > by-pkgid > b50d8ee6d7871fcc13c0677a9364ed59 > files > 310

bcfg2-doc-1.3.0-1.fc17.noarch.rpm



<!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>mrepo &mdash; 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="Example configuration" href="../configuration.html" />
    <link rel="next" title="Books" href="../books.html" />
    <link rel="prev" title="Example configuration" href="../configuration.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="../books.html" title="Books"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="../configuration.html" title="Example configuration"
             accesskey="P">previous</a> |</li>
	<li><a href="../../index.html">home</a> |&nbsp;</li>
	<!--<li><a href="../../search.html">search</a> |&nbsp;</li>-->
	<li><a href="../../help/index.html">help</a> |&nbsp;</li>
	<li><a href="../../contents.html">documentation </a> &raquo;</li>

          <li><a href="../../contents.html" >Bcfg2 documentation 1.3.0</a> &raquo;</li>
          <li><a href="../index.html" >Appendix</a> &raquo;</li>
          <li><a href="../configuration.html" accesskey="U">Example configuration</a> &raquo;</li> 
      </ul>
    </div>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="appendix-configuration-mrepo">
<span id="id1"></span><h1>mrepo<a class="headerlink" href="#appendix-configuration-mrepo" title="Permalink to this headline">¶</a></h1>
<p><a class="reference external" href="http://dag.wieers.com/home-made/mrepo/">mrepo</a> builds a local APT/Yum RPM repository from local ISO files,
downloaded updates, and extra packages from 3rd party repositories. It
takes care of setting up the ISO files, downloading the RPMs,
configuring HTTP access and providing PXE/TFTP resources for remote
network installations.</p>
<div class="section" id="sample-mrepo-configuration">
<h2>Sample mrepo configuration<a class="headerlink" href="#sample-mrepo-configuration" title="Permalink to this headline">¶</a></h2>
<div class="highlight-python"><pre>### Configuration file for mrepo

### The [main] section allows to override mrepo's default settings
### The mrepo-example.conf gives an overview of all the possible settings
[main]
srcdir = /var/mrepo/src
wwwdir = /var/www/mrepo
confdir = /etc/mrepo.conf.d
arch = x86_64

mailto = &lt;youremail&gt;
smtp-server = localhost

hardlink = yes
shareiso = yes

rsync-timeout = 3600

[centos5]
name = CentOS Server $release ($arch)
release = 5
arch = x86_64
metadata = yum repomd

# ISO images
iso = centos-$release-server-$arch-DVD.iso

#addons = rsync://mirrors.kernel.org/centos/$release/addons/$arch/RPMS
centosplus = rsync://mirrors.kernel.org/centos/$release/centosplus/$arch/RPMS
extras = rsync://mirrors.kernel.org/centos/$release/extras/$arch/RPMS
#fasttrack = rsync://mirrors.kernel.org/centos/$release/fasttrack/$arch/RPMS
os = rsync://mirrors.kernel.org/centos/$release/os/$arch/CentOS
updates = rsync://mirrors.kernel.org/centos/$release/updates/$arch/RPMS
dag = http://apt.sw.be/redhat/el$release/en/$arch/RPMS.dag
dries = http://apt.sw.be/redhat/el$release/en/$arch/RPMS.dries
rpmforge = http://apt.sw.be/redhat/el$release/en/$arch/RPMS.rpmforge

### Any other section is considered a definition for a distribution
### You can put distribution sections in /etc/mrepo.conf.d/
### Examples can be found in the documentation at:
###     /usr/share/doc/mrepo-0.8.6/dists/.</pre>
</div>
</div>
<div class="section" id="update-the-repositories">
<h2>Update the repositories<a class="headerlink" href="#update-the-repositories" title="Permalink to this headline">¶</a></h2>
<div class="highlight-python"><div class="highlight"><pre><span class="n">mrepo</span> <span class="o">-</span><span class="n">ug</span>
</pre></div>
</div>
</div>
<div class="section" id="example-sources-xml-file">
<h2>Example sources.xml file<a class="headerlink" href="#example-sources-xml-file" title="Permalink to this headline">¶</a></h2>
<div class="highlight-xml"><div class="highlight"><pre><span class="nt">&lt;Sources&gt;</span>
        <span class="c">&lt;!-- CentOS (5.4) sources --&gt;</span>
        <span class="nt">&lt;YUMSource&gt;</span>
                <span class="nt">&lt;Group&gt;</span>centos-5.4<span class="nt">&lt;/Group&gt;</span>
                <span class="nt">&lt;RawURL&gt;</span>http://mrepo/centos5-x86_64/RPMS.os<span class="nt">&lt;/RawURL&gt;</span>
                <span class="nt">&lt;Arch&gt;</span>x86_64<span class="nt">&lt;/Arch&gt;</span>
        <span class="nt">&lt;/YUMSource&gt;</span>
        <span class="nt">&lt;YUMSource&gt;</span>
                <span class="nt">&lt;Group&gt;</span>centos-5.4<span class="nt">&lt;/Group&gt;</span>
                <span class="nt">&lt;RawURL&gt;</span>http://mrepo/centos5-x86_64/RPMS.updates<span class="nt">&lt;/RawURL&gt;</span>
                <span class="nt">&lt;Arch&gt;</span>x86_64<span class="nt">&lt;/Arch&gt;</span>
        <span class="nt">&lt;/YUMSource&gt;</span>
        <span class="nt">&lt;YUMSource&gt;</span>
                <span class="nt">&lt;Group&gt;</span>centos-5.4<span class="nt">&lt;/Group&gt;</span>
                <span class="nt">&lt;RawURL&gt;</span>http://mrepo/centos5-x86_64/RPMS.extras<span class="nt">&lt;/RawURL&gt;</span>
                <span class="nt">&lt;Arch&gt;</span>x86_64<span class="nt">&lt;/Arch&gt;</span>
        <span class="nt">&lt;/YUMSource&gt;</span>
<span class="nt">&lt;/Sources&gt;</span>
</pre></div>
</div>
</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="#">mrepo</a><ul>
<li><a class="reference internal" href="#sample-mrepo-configuration">Sample mrepo configuration</a></li>
<li><a class="reference internal" href="#update-the-repositories">Update the repositories</a></li>
<li><a class="reference internal" href="#example-sources-xml-file">Example sources.xml file</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="../configuration.html"
                        title="previous chapter">Example configuration</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="../books.html"
                        title="next chapter">Books</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../../_sources/appendix/configuration/mrepo.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="../books.html" title="Books"
             >next</a> |</li>
        <li class="right" >
          <a href="../configuration.html" title="Example configuration"
             >previous</a> |</li>
	<li><a href="../../index.html">home</a> |&nbsp;</li>
	<!--<li><a href="../../search.html">search</a> |&nbsp;</li>-->
	<li><a href="../../help/index.html">help</a> |&nbsp;</li>
	<li><a href="../../contents.html">documentation </a> &raquo;</li>

          <li><a href="../../contents.html" >Bcfg2 documentation 1.3.0</a> &raquo;</li>
          <li><a href="../index.html" >Appendix</a> &raquo;</li>
          <li><a href="../configuration.html" >Example configuration</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; 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>