blob: f53682fe68af33cf5795d417fe698f9fab5b0311 [file] [log] [blame]
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +03001=====
2Usage
3=====
azvyagintseve5c4e832018-01-25 20:02:46 +02004
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +03005This file provides the debmirror sample pillars configurations for different
6use cases.
azvyagintseve5c4e832018-01-25 20:02:46 +02007
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +03008A sample of one debmirror mirror configuration (Ubuntu):
azvyagintseve5c4e832018-01-25 20:02:46 +02009
10.. code-block:: yaml
azvyagintsevb80d6222018-02-19 15:53:40 +020011
azvyagintseve5c4e832018-01-25 20:02:46 +020012 parameters:
13 debmirror:
14 client:
15 enabled: true
16 mirrors:
17 target01:
azvyagintsev73720db2018-06-20 17:28:09 +030018 http_proxy : "url"
19 https_proxy: "url"
20 ftp_proxy: "url"
21 rsync_proxy: "url"
22 no_proxy: ['val1', 'val2']
azvyagintseve5c4e832018-01-25 20:02:46 +020023 force: False
24 lock_target: True
25 extra_flags: [ '--verbose', '--progress', '--nosource', '--no-check-gpg', '--rsync-extra=none' ]
26 method: "rsync" # string
27 arch: [ 'amd64' ]
28 mirror_host: "mirror.mirantis.com" # rsync
29 mirror_root: ':mirror/nightly/ubuntu/'
30 target_dir: "/var/www/mirror/ubuntu/"
31 log_file: "/var/www/mirror/target01_log.log"
32 dist: [ xenial ] #, xenial-security, xenial-updates ]
33 section: [ main ] #, multiverse, restricted, universe ]
34 exclude_deb_section: [ 'games', gnome, Xfce, sound, electronics, graphics, hamradio , doc, localization, kde, video ]
35 filter:
36 00: "--exclude=/"
37 01: "--exclude='/android*'"
38 02: "--exclude='/firefox*'"
39 03: "--exclude='/chromium-browser*'"
40 04: "--exclude='/ceph*'"
41 05: "--exclude='/*-wallpapers*'"
42 06: "--exclude='/language-pack-(?!en)'"
43 07: "--include='/main(.*)manpages'"
44 08: "--include='/main(.*)python-(.*)doc'"
45 09: "--include='/main(.*)python-(.*)network'"
46
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +030047**Documentation and bugs**
48
49* http://salt-formulas.readthedocs.io/
50 Learn how to install and update salt-formulas
51
52* https://github.com/salt-formulas/salt-formula-debmirror/issues
53 In the unfortunate event that bugs are discovered, report the issue to the
54 appropriate issue tracker. Use the Github issue tracker for a specific salt
55 formula
56
57* https://launchpad.net/salt-formulas
58 For feature requests, bug reports, or blueprints affecting the entire
59 ecosystem, use the Launchpad salt-formulas project
azvyagintseve5c4e832018-01-25 20:02:46 +020060
61* https://github.com/salt-formulas/salt-formula-debmirror
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +030062 Develop the salt-formulas projects in the master branch and then submit pull
63 requests against a specific formula
azvyagintseve5c4e832018-01-25 20:02:46 +020064
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +030065* https://launchpad.net/~salt-formulas-users
66 Join the salt-formulas-users team and subscribe to mailing list if required
azvyagintseve5c4e832018-01-25 20:02:46 +020067
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +030068* #salt-formulas @ irc.freenode.net
69 Use this IRC channel in case of any questions or feedback which is always
70 welcome