Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
(#12809) $release should use $lsbdistcodename and fall back to manual input
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
init.pp
diff --git
a/manifests/init.pp
b/manifests/init.pp
index ceb8d5ce0bffb38a7bf1bf2fc6b74033819ae25f..b41d359fbdeb22652a42db531ea387cf9abf05cb 100644
(file)
--- a/
manifests/init.pp
+++ b/
manifests/init.pp
@@
-37,7
+37,9
@@
class apt(
false => true
}
false => true
}
- package { "python-software-properties": }
+ if ! defined(Package["python-software-properties"]) {
+ package { "python-software-properties": }
+ }
file { "sources.list":
path => "${apt::params::root}/sources.list",
file { "sources.list":
path => "${apt::params::root}/sources.list",