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
After the repository is added, the ${::apt::sources_list_d}/${sources_list_d_filename...
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
source.pp
diff --git
a/manifests/source.pp
b/manifests/source.pp
index 734f375f21fa88135b24a3a7ba10ecd55f20f756..0bb9b3be7161bd3929e12e08bcfa7d8b7fa715da 100644
(file)
--- a/
manifests/source.pp
+++ b/
manifests/source.pp
@@
-18,12
+18,14
@@
define apt::source(
$key_content = undef,
$key_source = undef,
$trusted_source = undef,
$key_content = undef,
$key_source = undef,
$trusted_source = undef,
+ $notify_update = undef,
) {
validate_string($architecture, $comment, $location, $repos)
validate_bool($allow_unsigned)
validate_hash($include)
) {
validate_string($architecture, $comment, $location, $repos)
validate_bool($allow_unsigned)
validate_hash($include)
- include 'apt::params'
+ # This is needed for compat with 1.8.x
+ include ::apt
$_before = Apt::Setting["list-${title}"]
$_before = Apt::Setting["list-${title}"]
@@
-113,8
+115,9
@@
define apt::source(
}
apt::setting { "list-${name}":
}
apt::setting { "list-${name}":
- ensure => $ensure,
- content => template('apt/_header.erb', 'apt/source.list.erb'),
+ ensure => $ensure,
+ content => template('apt/_header.erb', 'apt/source.list.erb'),
+ notify_update => $notify_update,
}
if $pin {
}
if $pin {