summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md26
1 files changed, 17 insertions, 9 deletions
diff --git a/README.md b/README.md
index 13990cc..5f19cc0 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,7 @@ Ubuntu support is lagging behind but not absent either.
* The default value of the `$repos` parameter was removed since the logic is
now in the `apt::params` class. If you have explicitly set `$repos` to
'auto' in your manifests, you should remove this.
-
+
* The `disable_update` parameter has been removed. The main apt class
defaults to *not* run an `apt-get update` on every run anyway so this
parameter seems useless.
@@ -77,13 +77,13 @@ Ubuntu support is lagging behind but not absent either.
* the apt class has been moved to a paramterized class. if you were including
this class before, after passing some variables, you will need to move to
- instantiating the class with those variables instead. For example, if you
+ instantiating the class with those variables instead. For example, if you
had the following in your manifests:
$apt_debian_url = 'http://localhost:9999/debian/'
$apt_use_next_release = true
include apt
-
+
you will need to remove the variables, and the include and instead do
the following:
@@ -134,11 +134,11 @@ Ubuntu support is lagging behind but not absent either.
you will need to remove the variables, and the include and instead do the
following:
-
+
class { 'apt::listchanges':
email => 'foo@example.com';
}
-
+
* the `apt::proxy_client` class has been moved to a paramterized class. if you
were including this class before, after passing some variables, you will need
to move to instantiating the class with those variables instead. For example,
@@ -264,6 +264,14 @@ Example usage:
### custom_preferences
+ 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
+ unless you explicitly specify the version number. This file will be
+ complemented with all of the preferences_snippet calls (see below).
+
If the default preferences template doesn't suit your needs, you can create a
template located in your `apt` module, and set `custom_preferences` to your
preferred template:
@@ -271,7 +279,7 @@ Example usage:
class { 'apt':
custom_preferences => 'apt/my_super_template.erb',
}
-
+
### custom_sources_list
By default this module will use a basic `apt/sources.list` template with
@@ -402,7 +410,7 @@ Example usage:
class { 'apt::listchanges':
email => 'foo@example.com',
}
-
+
## apt::proxy_client<a name="apt-proxy_client"></a>
@@ -688,7 +696,7 @@ To run pupept rspec tests:
bundle exec rake spec
Verbose Output:
-
+
bundle exec rake spec SPEC_OPTS='--format documentation'
Using different facter/puppet versions:
@@ -713,7 +721,7 @@ Run tests on default node (Debian Jessie):
Run different nodeset:
BEAKER_set="debian-8-x86_64-docker" bundle exec rspec spec/acceptance/*_spec.rb
-
+
# Licensing<a name="licensing"></a>