Skip to content

Commit

Permalink
Add pillar example in readme for aptly server publish
Browse files Browse the repository at this point in the history
  • Loading branch information
bbinet committed Feb 15, 2018
1 parent ec80056 commit f4610cb
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,38 @@ Basic Aptly server mirrors
- "s3:aptcdn:xenial/repo/nightly"
Aptly server publish

.. code-block:: yaml
aptly:
server:
mirror:
debian_jessie:
source: http://deb.debian.org/debian/
distribution: jessie
update: true
snapshots:
- name: debian_jessie-20180215
repo:
myrepo:
distribution: jessie
component: main
architectures: amd64,armhf
comment: "Myrepo specific packages"
snapshots:
- name: myrepo-20180215
publish:
- snapshot: debian_jessie-20180215
prefix: dev/debian
distribution: jessie
component: main
- snapshot: myrepo-20180215
prefix: dev/myrepo
distribution: jessie
component: main
Proxy environment variables (optional) in cron job for mirroring script

.. code-block:: yaml
Expand Down

0 comments on commit f4610cb

Please sign in to comment.