Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9d20803
)
fix scoping of $lsbdistcodename in source.pp
author
Anton Lindström
<lindztr@gmail.com>
Tue, 12 Jun 2012 07:56:19 +0000
(09:56 +0200)
committer
Anton Lindström
<lindztr@gmail.com>
Tue, 12 Jun 2012 07:56:19 +0000
(09:56 +0200)
Current unscoped variable yields deprecation warning:
warning: Dynamic lookup of $lsbdistcodename at
[..]/apt/manifests/source.pp:7 is deprecated.
manifests/source.pp
patch
|
blob
|
history
diff --git
a/manifests/source.pp
b/manifests/source.pp
index 106b16000c47be91fe8ac4ec7e791209b230fb18..2c26227ec44f3b4b88f33dc28674e54040dd5182 100644
(file)
--- a/
manifests/source.pp
+++ b/
manifests/source.pp
@@
-4,7
+4,7
@@
define apt::source(
$ensure = present,
$location = '',
- $release = $lsbdistcodename,
+ $release = $
::
lsbdistcodename,
$repos = 'main',
$include_src = true,
$required_packages = false,