blob: f33d150c8292784da8d10d6da4d7844fd2cb16a9 [file] [log] [blame]
azvyagintseve5c4e832018-01-25 20:02:46 +02001
2==================================
3debmirror Formula
4==================================
5
6Service debmirror description
7
8
9Sample Pillars
10==============
11
12Example for one debmirror mirror, ubuntu.
13
14.. code-block:: yaml
15 parameters:
16 debmirror:
17 client:
18 enabled: true
19 mirrors:
20 target01:
21 force: False
22 lock_target: True
23 extra_flags: [ '--verbose', '--progress', '--nosource', '--no-check-gpg', '--rsync-extra=none' ]
24 method: "rsync" # string
25 arch: [ 'amd64' ]
26 mirror_host: "mirror.mirantis.com" # rsync
27 mirror_root: ':mirror/nightly/ubuntu/'
28 target_dir: "/var/www/mirror/ubuntu/"
29 log_file: "/var/www/mirror/target01_log.log"
30 dist: [ xenial ] #, xenial-security, xenial-updates ]
31 section: [ main ] #, multiverse, restricted, universe ]
32 exclude_deb_section: [ 'games', gnome, Xfce, sound, electronics, graphics, hamradio , doc, localization, kde, video ]
33 filter:
34 00: "--exclude=/"
35 01: "--exclude='/android*'"
36 02: "--exclude='/firefox*'"
37 03: "--exclude='/chromium-browser*'"
38 04: "--exclude='/ceph*'"
39 05: "--exclude='/*-wallpapers*'"
40 06: "--exclude='/language-pack-(?!en)'"
41 07: "--include='/main(.*)manpages'"
42 08: "--include='/main(.*)python-(.*)doc'"
43 09: "--include='/main(.*)python-(.*)network'"
44
45More Information
46================
47
48* https://github.com/salt-formulas/salt-formula-debmirror
49* Check debmirror/schemas/client.yaml for parameters description
50
51
52Documentation and Bugs
53======================
54
55To learn how to install and update salt-formulas, consult the documentation
56available online at:
57
58 http://salt-formulas.readthedocs.io/
59
60In the unfortunate event that bugs are discovered, they should be reported to
61the appropriate issue tracker. Use GitHub issue tracker for specific salt
62formula:
63
64 https://github.com/salt-formulas/salt-formula-debmirror/issues
65
66For feature requests, bug reports or blueprints affecting entire ecosystem,
67use Launchpad salt-formulas project:
68
69 https://launchpad.net/salt-formulas
70
71Developers wishing to work on the salt-formulas projects should always base
72their work on master branch and submit pull request against specific formula.
73
74You should also subscribe to mailing list (salt-formulas@freelists.org):
75
76 https://www.freelists.org/list/salt-formulas
77
78Any questions or feedback is always welcome so feel free to join our IRC
79channel:
80
81 #salt-formulas @ irc.freenode.net
82
83Read more
84=========
85
86* links