aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2014-03-21 12:04:25 -0400
committerMicah Anderson <micah@riseup.net>2014-03-21 12:04:25 -0400
commit51b69c26619e0bde9a0a67dba7fdae2ca2526363 (patch)
tree83304a7df42b024889042ad5a2297cfc2b226bc8 /README
parent082a2f77687b5c9dad63f5b30c672cc495506cd9 (diff)
parent128410f64363f717fc0d5a13faf769843a0b733c (diff)
downloadpuppet-apt-51b69c26619e0bde9a0a67dba7fdae2ca2526363.tar.gz
puppet-apt-51b69c26619e0bde9a0a67dba7fdae2ca2526363.tar.bz2
Merge branch 'master' of buse.riseup.net:shared-apt
Diffstat (limited to 'README')
-rw-r--r--README37
1 files changed, 16 insertions, 21 deletions
diff --git a/README b/README
index 35a88b2..0057d87 100644
--- a/README
+++ b/README
@@ -113,22 +113,6 @@ the site_apt modules' files directory that is named the same as the
host. (example: site_apt/files/some.host.com/03clean, or
site_apt/files/some.host.com/03clean_vserver)
-Variables
-=========
-
-$custom_sources_list
---------------------
-
-By default this module will use a basic apt/sources.list template with
-a generic Debian mirror. If you need to set more specific sources,
-e.g. changing the sections included in the source, etc. you can set
-this variable to the content that you desire to use instead.
-
-For example, setting the following variable before including this class will
-pull in the templates/site_apt/sources.list file:
-
- $custom_sources_list = template('site_apt/sources.list')
-
Classes
=======
@@ -146,9 +130,8 @@ Class parameters:
* use_volatile
- If this variable is set to true the Debian Volatile sources (until
- Lenny) or CODENAME-updates (such as squeeze-updates, supported since
- Squeeze) are added.
+ If this variable is set to true the CODENAME-updates sources (such as
+ squeeze-updates) are added.
By default this is false for backward compatibility with older
versions of this module.
@@ -197,8 +180,8 @@ Class parameters:
* custom_preferences
- Since Debian Lenny's version of APT doesn't support the use of the
- preferences.d directory for putting fragments of 'preferences', this
+ For historical reasons (Debian Lenny's version of APT did not support the use
+ of the preferences.d directory for putting fragments of 'preferences'), this
module will manage a default generic apt/preferences file with more
recent releases pinned to very low values so that any package
installation will not accidentally pull in packages from those suites
@@ -214,6 +197,18 @@ Class parameters:
class { 'apt': custom_preferences => false }
+* custom_sources_list
+
+ By default this module will use a basic apt/sources.list template with
+ a generic Debian mirror. If you need to set more specific sources,
+ e.g. changing the sections included in the source, etc. you can set
+ this variable to the content that you desire to use instead.
+
+ For example, setting this variable will pull in the
+ templates/site_apt/sources.list file:
+
+ class { 'apt': custom_sources_list => template('site_apt/sources.list') }
+
* codename
Contains the codename ("squeeze", "wheezy", ...) of the client's release. While