Filip Pytloun | 9534729 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 1 | ===== |
| 2 | Aptly |
| 3 | ===== |
| 4 | |
| 5 | Install and configure Aptly server and client. |
| 6 | |
| 7 | Available states |
| 8 | ================ |
| 9 | |
| 10 | .. contents:: |
| 11 | :local: |
| 12 | |
| 13 | ``aptly.server`` |
| 14 | ---------------- |
| 15 | |
| 16 | Setup aptly server |
| 17 | |
| 18 | ``aptly.publisher`` |
| 19 | ------------------- |
| 20 | |
| 21 | Setup aptly publisher |
| 22 | |
| 23 | Available metadata |
| 24 | ================== |
| 25 | |
| 26 | .. contents:: |
| 27 | :local: |
| 28 | |
| 29 | ``metadata.aptly.server.single`` |
| 30 | -------------------------------- |
| 31 | |
| 32 | Setup basic server |
| 33 | |
| 34 | |
| 35 | ``metadata.aptly.client.publisher`` |
| 36 | ----------------------------------- |
| 37 | |
| 38 | Setup aptly publisher client |
| 39 | |
| 40 | Configuration parameters |
| 41 | ======================== |
| 42 | |
| 43 | |
| 44 | Example reclass |
| 45 | =============== |
| 46 | |
| 47 | Basic Aptly server with no repos or mirrors. |
| 48 | |
| 49 | .. code-block:: yaml |
| 50 | |
| 51 | classes: |
| 52 | - service.aptly.server.single |
| 53 | parameters: |
| 54 | aptly: |
| 55 | server: |
| 56 | enabled: true |
| 57 | secure: true |
| 58 | gpg_keypair_id: A76882D3 |
| 59 | gpg_passphrase: |
| 60 | gpg_public_key: | |
| 61 | -----BEGIN PGP PUBLIC KEY BLOCK----- |
| 62 | Version: GnuPG v1 |
| 63 | ... |
| 64 | gpg_private_key: | |
| 65 | -----BEGIN PGP PRIVATE KEY BLOCK----- |
| 66 | Version: GnuPG v1 |
| 67 | ... |
| 68 | |
| 69 | Example pillar |
| 70 | ============== |
| 71 | |
| 72 | .. code-block:: yaml |
| 73 | |
| 74 | aptly: |
| 75 | server: |
| 76 | enabled: true |
| 77 | repo: |
| 78 | myrepo: |
| 79 | distribution: trusty |
| 80 | component: main |
| 81 | architectures: amd64 |
| 82 | comment: "Custom components" |
Petr Michalec | d78b481 | 2016-12-27 16:11:06 +0100 | [diff] [blame] | 83 | sources: false |
Filip Pytloun | 9534729 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 84 | publisher: |
| 85 | component: mycomponent |
| 86 | distributions: |
| 87 | - nightly/trusty |
| 88 | |
| 89 | Read more |
| 90 | ========= |
| 91 | |
| 92 | * http://www.aptly.info/doc/configuration/ |