summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md29
1 files changed, 19 insertions, 10 deletions
diff --git a/README.md b/README.md
index 9405bd8..34cb7e8 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,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.
@@ -76,13 +76,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:
@@ -133,11 +133,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,
@@ -252,6 +252,15 @@ Example usage:
If this variable is set the default repositories list ("main contrib non-free")
is overriden.
+### disable_update
+
+ Disable "apt-get update" which is normally triggered by apt::upgrade_package
+ and apt::dist_upgrade.
+
+ Note that nodes can be updated once a day by using
+ APT::Periodic::Update-Package-Lists "1";
+ in i.e. /etc/apt/apt.conf.d/80_apt_update_daily.
+
### custom_preferences
For historical reasons (Debian Lenny's version of APT did not support the use
@@ -272,7 +281,7 @@ Example usage:
class { 'apt':
custom_preferences => false,
}
-
+
### custom_sources_list
By default this module will use a basic `apt/sources.list` template with
@@ -403,7 +412,7 @@ Example usage:
class { 'apt::listchanges':
email => 'foo@example.com',
}
-
+
## apt::proxy_client<a name="apt-proxy_client"></a>
@@ -515,7 +524,7 @@ following in your manifest:
apt::preseeded_package { locales: }
-You can also specify the content of the seed via the content parameter,
+You can also specify the content of the seed via the content parameter,
for example:
apt::preseeded_package { 'apticron':
@@ -638,7 +647,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:
@@ -663,7 +672,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>