Skip to content

Commit

Permalink
Merge pull request #64 from sylvainfaivre/update-doc
Browse files Browse the repository at this point in the history
docs(readme.rst): add doc for apt_conf state + other minor update
  • Loading branch information
javierbertoli authored May 29, 2020
2 parents 481beee + cf78277 commit 4db93ce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
15 changes: 11 additions & 4 deletions docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,22 @@ values from ``map.jinja`` are used.
Check https://wiki.debian.org/SourcesList for an explanation about the resulting
files structure.

``apt.apt_conf``
^^^^^^^^^^^^^^^^^^^

Allows you to manage apt configuration from pillar. Check ``pillar.example`` to see
possible values.

Check https://wiki.debian.org/AptConfiguration#apt.conf and ``man 5 apt.conf`` for
an explanation about the resulting files structure.

``apt.preferences``
^^^^^^^^^^^^^^^^^^^

Allows you to configure and manage apt's preferences from pillar. Check
``pillar.example`` to see possible values. If used and no repositories are
provided, sane default values from ``map.jinja`` are used.
``pillar.example`` to see possible values.

Check https://wiki.debian.org/AptPreferences?action=show&redirect=preferences
Check https://wiki.debian.org/AptConfiguration#apt_preferences_.28APT_pinning.29
and ``man 5 apt_preferences`` for an explanation about the resulting files structure.

``apt.ppa``
Expand Down Expand Up @@ -143,4 +151,3 @@ Runs all of the stages above in one go: i.e. ``destroy`` + ``converge`` + ``veri
^^^^^^^^^^^^^^^^^^^^^

Gives you SSH access to the instance for manual testing.

3 changes: 3 additions & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ apt:
# Set the right keyring for the distro (ie ubuntu-keyring or ...)
keyring_package: debian-archive-keyring

remove_apt_conf: true
clean_apt_conf_d: true

remove_sources_list: true
clean_sources_list_d: true

Expand Down

0 comments on commit 4db93ce

Please sign in to comment.