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