blob: 7ed259d43aef455615648b0d247bb873e84a4eee [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:
18 force: False
19 lock_target: True
20 extra_flags: [ '--verbose', '--progress', '--nosource', '--no-check-gpg', '--rsync-extra=none' ]
21 method: "rsync" # string
22 arch: [ 'amd64' ]
23 mirror_host: "mirror.mirantis.com" # rsync
24 mirror_root: ':mirror/nightly/ubuntu/'
25 target_dir: "/var/www/mirror/ubuntu/"
26 log_file: "/var/www/mirror/target01_log.log"
27 dist: [ xenial ] #, xenial-security, xenial-updates ]
28 section: [ main ] #, multiverse, restricted, universe ]
29 exclude_deb_section: [ 'games', gnome, Xfce, sound, electronics, graphics, hamradio , doc, localization, kde, video ]
30 filter:
31 00: "--exclude=/"
32 01: "--exclude='/android*'"
33 02: "--exclude='/firefox*'"
34 03: "--exclude='/chromium-browser*'"
35 04: "--exclude='/ceph*'"
36 05: "--exclude='/*-wallpapers*'"
37 06: "--exclude='/language-pack-(?!en)'"
38 07: "--include='/main(.*)manpages'"
39 08: "--include='/main(.*)python-(.*)doc'"
40 09: "--include='/main(.*)python-(.*)network'"
41
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +030042**Documentation and bugs**
43
44* http://salt-formulas.readthedocs.io/
45 Learn how to install and update salt-formulas
46
47* https://github.com/salt-formulas/salt-formula-debmirror/issues
48 In the unfortunate event that bugs are discovered, report the issue to the
49 appropriate issue tracker. Use the Github issue tracker for a specific salt
50 formula
51
52* https://launchpad.net/salt-formulas
53 For feature requests, bug reports, or blueprints affecting the entire
54 ecosystem, use the Launchpad salt-formulas project
azvyagintseve5c4e832018-01-25 20:02:46 +020055
56* https://github.com/salt-formulas/salt-formula-debmirror
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +030057 Develop the salt-formulas projects in the master branch and then submit pull
58 requests against a specific formula
azvyagintseve5c4e832018-01-25 20:02:46 +020059
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +030060* https://launchpad.net/~salt-formulas-users
61 Join the salt-formulas-users team and subscribe to mailing list if required
azvyagintseve5c4e832018-01-25 20:02:46 +020062
OlgaGusarenko4b8f0ce2018-06-19 16:04:15 +030063* #salt-formulas @ irc.freenode.net
64 Use this IRC channel in case of any questions or feedback which is always
65 welcome