azvyagintsev | e5c4e83 | 2018-01-25 20:02:46 +0200 | [diff] [blame^] | 1 | |
| 2 | ================================== |
| 3 | debmirror Formula |
| 4 | ================================== |
| 5 | |
| 6 | Service debmirror description |
| 7 | |
| 8 | |
| 9 | Sample Pillars |
| 10 | ============== |
| 11 | |
| 12 | Example 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 | |
| 45 | More Information |
| 46 | ================ |
| 47 | |
| 48 | * https://github.com/salt-formulas/salt-formula-debmirror |
| 49 | * Check debmirror/schemas/client.yaml for parameters description |
| 50 | |
| 51 | |
| 52 | Documentation and Bugs |
| 53 | ====================== |
| 54 | |
| 55 | To learn how to install and update salt-formulas, consult the documentation |
| 56 | available online at: |
| 57 | |
| 58 | http://salt-formulas.readthedocs.io/ |
| 59 | |
| 60 | In the unfortunate event that bugs are discovered, they should be reported to |
| 61 | the appropriate issue tracker. Use GitHub issue tracker for specific salt |
| 62 | formula: |
| 63 | |
| 64 | https://github.com/salt-formulas/salt-formula-debmirror/issues |
| 65 | |
| 66 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 67 | use Launchpad salt-formulas project: |
| 68 | |
| 69 | https://launchpad.net/salt-formulas |
| 70 | |
| 71 | Developers wishing to work on the salt-formulas projects should always base |
| 72 | their work on master branch and submit pull request against specific formula. |
| 73 | |
| 74 | You should also subscribe to mailing list (salt-formulas@freelists.org): |
| 75 | |
| 76 | https://www.freelists.org/list/salt-formulas |
| 77 | |
| 78 | Any questions or feedback is always welcome so feel free to join our IRC |
| 79 | channel: |
| 80 | |
| 81 | #salt-formulas @ irc.freenode.net |
| 82 | |
| 83 | Read more |
| 84 | ========= |
| 85 | |
| 86 | * links |