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