Added pillar.example docs for PR #12

This commit is contained in:
Alexander Weidinger 2018-04-27 22:15:46 +02:00
parent 99d0f18951
commit f3345b1f66

View file

@ -35,3 +35,22 @@ apt_cacher_ng:
# - https://linux.die.net/man/5/apt.conf
# Default value ignores proxy for HTTPS connections
https_proxy: DIRECT
##
# require/require_in/include example
# See https://github.com/saltstack-formulas/apt-cacher-formula/pull/12 for details
apt_cacher_ng:
...
include:
# custom states which must run before apt-cacher.ng.server
- repositories.sources
- apt-cacher-ng-fixes.server
require:
# custom states: i.e. a file which depends on the apt-cacher-ng package,
# but is required by the apt-cacher-ng server.
- 'file: /etc/apt-cacher-ng/backends_debian'
require_in:
# custom states: i.e. Debian package repos
- 'pkgrepo: deb jessie-backports'
- 'pkgrepo: deb-src jessie-backports'