aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-11-10 10:11:18 +0100
committerintrigeri <intrigeri@boum.org>2010-11-10 10:19:06 +0100
commit2cd9496999af2dd00a203f38c4e1f4393c7f3f62 (patch)
treea74f18ccf51d7f48752b37d3a8f39705972eac05 /README
parentc43bfac6b80489cf789fe448abb3561a6655a969 (diff)
parent5bf01f148d2c2db8523febc0d73591444c5965c9 (diff)
downloadpuppet-apt-2cd9496999af2dd00a203f38c4e1f4393c7f3f62.tar.gz
puppet-apt-2cd9496999af2dd00a203f38c4e1f4393c7f3f62.tar.bz2
Merge remote branch 'nadir/master'
Conflicts: README manifests/custom_sources.pp manifests/default_preferences.pp manifests/init.pp manifests/unattended_upgrades.pp templates/Debian/sources.list.volatile.erb
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 22 insertions, 2 deletions
diff --git a/README b/README
index 8c32ca4..12ec3fa 100644
--- a/README
+++ b/README
@@ -67,6 +67,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
@@ -144,11 +148,27 @@ apt::cron::dist-upgrade
This class sets up cron-apt so that it dist-upgrades the system and
email when upgrades are performed.
+Defines
+=======
+
+apt::preferences_snippet
+------------------------
+
+A way to add pinning information to /etc/apt/preferences
+
+Example:
+
+ apt::preferences_snippet{
+ 'irssi-plugin-otr':
+ release => 'lenny-backports',
+ priority => 999;
+ }
+
Resources
=========
-File[apt_config]
-----------------
+Concatenated_file[apt_config]
+-----------------------------
Use this resource to depend on or add to a completed apt configuration
Exec[apt_updated]