diff options
author | Gabriel Filion <lelutin@gmail.com> | 2010-10-18 01:45:22 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2010-10-18 01:51:16 -0400 |
commit | 4dbcd092817708292de6463777b331c8dbc7e727 (patch) | |
tree | 54c59888cf4045cd7c3c340b862c8448dc43c37a /README | |
parent | 973657848100d227c10f4b51a23bf24a56550c8d (diff) |
Make it possible to ensure preferences is absent
The current code makes it mandatory to have a file /etc/apt/preferences
present. In the event that this file is empty or contains a space,
apt-get update cannot execute.
Add a case with the special value "false" that ensures the file does not
exist.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Diffstat (limited to 'README')
-rw-r--r-- | README | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -62,6 +62,10 @@ example, setting the following variable before including this class will pull in the templates/apt/preferences file: $custom_preferences = 'template("apt/preferences")' +Also, if you need the preferences file to be absent, set this variable to false: + +$custom_preferences = false + $custom_key_dir --------------- If you have different apt-key files that you want to get added to your |