aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-11 10:49:27 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-11 12:01:35 -0400
commitd007a403330c553d925b1b4888d93962a5f83f99 (patch)
tree005b4ef8a8fc558a6cb143b3252e8694eada215c /README
parent87bfb868d7625100086a26a81743f5adbabbb988 (diff)
downloadpuppet-apt-d007a403330c553d925b1b4888d93962a5f83f99.tar.gz
puppet-apt-d007a403330c553d925b1b4888d93962a5f83f99.tar.bz2
Replace debian_*() parser functions with facts
* Removes dependency on lsb-release and/or Facter >1.7 (values are based on $::lsbdistcodename, when available) * Simplifies maintenance: only lib/facter/util/* require updates as new releases are made Caveats: * apt::codename is removed; to override debian_* facts, set the FACTER_debian_codename environment variable for puppet * If tracking unstable, make sure lsb-release is installed, as other methods can't tell between testing and unstable
Diffstat (limited to 'README')
-rw-r--r--README22
1 files changed, 8 insertions, 14 deletions
diff --git a/README b/README
index 8333be2..e554837 100644
--- a/README
+++ b/README
@@ -17,9 +17,11 @@ Ubuntu support is lagging behind but not absent either.
! Upgrade Notice !
- * Several parser functions have been updated: you need to restart your puppet
- master, otherwise some nodes may keep on using an old, cached version!
- (https://docs.puppetlabs.com/guides/custom_functions.html#gotchas)
+ * The apt::codename parameter has been removed. In its place, the
+ debian_codename fact may be overridden via an environment variable. This
+ will affect all other debian_* facts, and achieve the same result.
+
+ FACTER_debian_codename=jessie puppet agent -t
* If you were using custom 50unattended-upgrades.${::lsbdistcodename} in your
site_apt, these are no longer supported. You should migrate to passing
@@ -97,8 +99,9 @@ Requirements
This module needs:
-- the lsb module: git://labs.riseup.net/shared-lsb
-- the common module: git://labs.riseup.net/shared-common
+- the common module: https://gitlab.com/shared-puppet-modules-group/common
+- the lsb module: https://gitlab.com/shared-puppet-modules-group/lsb
+ (optional but recommended, required on Ubuntu)
By default, on normal hosts, this module sets the configuration option
DSelect::Clean to 'auto'. On virtual servers, the value is set by default to
@@ -225,15 +228,6 @@ Class parameters:
class { 'apt': custom_sources_list => template('site_apt/sources.list') }
-* codename
-
- Contains the codename ("squeeze", "wheezy", ...) of the client's release. While
- these values come from lsb-release by default, this parameter can be set
- manually, e.g. to enable forced upgrades. For example:
-
- include apt::dist_upgrade
- class { 'apt': codename => 'wheezy', notify => Exec['apt_dist-upgrade'] }
-
* custom_key_dir
If you have different apt-key files that you want to get added to your