summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Charaoui <jcharaoui@cmaisonneuve.qc.ca>2018-06-19 11:55:07 -0400
committerJérôme Charaoui <jcharaoui@cmaisonneuve.qc.ca>2018-06-19 11:55:07 -0400
commit9f43d3f74a0464b7d9f4b4da5afaee780dbdb8ee (patch)
tree25ca510405732570cf4983b7d14cfedc4a3a11cc
parent386804ccb21903a030be39c3a4b4f4513018fe23 (diff)
Fix variable scope warnings in examples
-rw-r--r--UPGRADING.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/UPGRADING.md b/UPGRADING.md
index 2d31516..1a89e30 100644
--- a/UPGRADING.md
+++ b/UPGRADING.md
@@ -41,16 +41,16 @@ To keep the old behavior, pass:
By default, the puppetlabs module won't create any sources. To replicate the shared module template, use this:
apt::source {
- "${lsbdistcodename}":
+ $::lsbdistcodename:
location => 'http://deb.debian.org/debian',
repos => 'main contrib non-free';
- "${lsbdistcodename}-security":
+ "${::lsbdistcodename}-security":
location => 'http://security.debian.org/debian-security',
repos => 'main contrib non-free',
release => "${lsbdistcodename}/updates";
- "${lsbdistcodename}-backports":
+ "${::lsbdistcodename}-backports":
location => 'http://deb.debian.org/debian',
repos => 'main contrib non-free',
release => "${lsbdistcodename}-backports";
@@ -61,9 +61,9 @@ By default, the puppetlabs module won't create any sources. To replicate the sha
release => "testing";
}
apt::pin {
- "${lsbdistcodename}":
+ "${::lsbdistcodename}":
priority => 990;
- "${lsbdistcodename}-backports":
+ "${::lsbdistcodename}-backports":
priority => 200;
'testing':
priority => 2;