blob: b89a4cc07ba12d14a1b58aa2a28fa4eee610a5a4 [file] [log] [blame]
=====
Usage
=====
This file provides the debmirror sample pillars configurations for different
use cases.
See debmirror/schemas/*.yaml for all possible options
A sample of one debmirror mirror configuration (Ubuntu):
.. code-block:: yaml
parameters:
debmirror:
client:
enabled: true
mirrors:
target01:
enabled: true
fetch_retry: 3
http_proxy : "url"
https_proxy: "url"
ftp_proxy: "url"
rsync_proxy: "url"
no_proxy: ['val1', 'val2']
force: False
lock_target: True
extra_flags: [ '--verbose', '--progress', '--nosource', '--no-check-gpg', '--rsync-extra=none' ]
method: "rsync" # string
arch: [ 'amd64' ]
mirror_host: "mirror.mirantis.com" # rsync
mirror_root: ':mirror/nightly/ubuntu/'
target_dir: "/var/www/mirror/ubuntu/"
log_file: "/var/www/mirror/target01_log.log"
dist: [ xenial ] #, xenial-security, xenial-updates ]
section: [ main ] #, multiverse, restricted, universe ]
exclude_deb_section: [ 'games', gnome, Xfce, sound, electronics, graphics, hamradio , doc, localization, kde, video ]
filter:
00: "--exclude=/"
01: "--exclude='/android*'"
02: "--exclude='/firefox*'"
03: "--exclude='/chromium-browser*'"
04: "--exclude='/ceph*'"
05: "--exclude='/*-wallpapers*'"
06: "--exclude='/language-pack-(?!en)'"
07: "--include='/main(.*)manpages'"
08: "--include='/main(.*)python-(.*)doc'"
09: "--include='/main(.*)python-(.*)network'"