Skip to content

Commit 4db93ce

Browse files
Merge pull request #64 from sylvainfaivre/update-doc
docs(readme.rst): add doc for apt_conf state + other minor update
2 parents 481beee + cf78277 commit 4db93ce

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

docs/README.rst

+11-4
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,22 @@ values from ``map.jinja`` are used.
7171
Check https://wiki.debian.org/SourcesList for an explanation about the resulting
7272
files structure.
7373

74+
``apt.apt_conf``
75+
^^^^^^^^^^^^^^^^^^^
76+
77+
Allows you to manage apt configuration from pillar. Check ``pillar.example`` to see
78+
possible values.
79+
80+
Check https://wiki.debian.org/AptConfiguration#apt.conf and ``man 5 apt.conf`` for
81+
an explanation about the resulting files structure.
82+
7483
``apt.preferences``
7584
^^^^^^^^^^^^^^^^^^^
7685

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

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

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

145153
Gives you SSH access to the instance for manual testing.
146-

pillar.example

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ apt:
55
# Set the right keyring for the distro (ie ubuntu-keyring or ...)
66
keyring_package: debian-archive-keyring
77

8+
remove_apt_conf: true
9+
clean_apt_conf_d: true
10+
811
remove_sources_list: true
912
clean_sources_list_d: true
1013

0 commit comments

Comments
 (0)