diff options
author | Jérôme Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2018-06-19 12:02:44 -0400 |
---|---|---|
committer | Jérôme Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2018-06-19 12:02:44 -0400 |
commit | 7d4d086c6f272aa5f0d3823a7266632c8d3debb1 (patch) | |
tree | a35131e0a963b38f6d36adefdae4329d00d735e1 | |
parent | 9f43d3f74a0464b7d9f4b4da5afaee780dbdb8ee (diff) |
Improve backports example
-rw-r--r-- | UPGRADING.md | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/UPGRADING.md b/UPGRADING.md index 1a89e30..a8f094e 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -50,11 +50,6 @@ By default, the puppetlabs module won't create any sources. To replicate the sha repos => 'main contrib non-free', release => "${lsbdistcodename}/updates"; - "${::lsbdistcodename}-backports": - location => 'http://deb.debian.org/debian', - repos => 'main contrib non-free', - release => "${lsbdistcodename}-backports"; - 'testing': location => 'http://deb.debian.org/debian', repos => 'main contrib non-free', @@ -63,8 +58,6 @@ By default, the puppetlabs module won't create any sources. To replicate the sha apt::pin { "${::lsbdistcodename}": priority => 990; - "${::lsbdistcodename}-backports": - priority => 200; 'testing': priority => 2; } @@ -72,6 +65,15 @@ By default, the puppetlabs module won't create any sources. To replicate the sha Sadly I can't find a way to iter the next codename from the facts :(. You can either use testing instead of "the next release" or specify it manually. +## backports + +The module provides a class specifically for deploying the backports repository and pin. + + class { 'apt::backports': + pin => 200, + location => 'http://deb.debian.org/debian', + } + # Classes comparison ## apticron |