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
and an acceptance test
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
source.pp
diff --git
a/manifests/source.pp
b/manifests/source.pp
index 04c367119ac941d626c2a430409f650bb81b6a18..f6647dfe76b1021e645871711d6a8e9a11b6af57 100644
(file)
--- a/
manifests/source.pp
+++ b/
manifests/source.pp
@@
-16,14
+16,14
@@
define apt::source(
$key_source = undef,
$pin = false,
$architecture = undef,
$key_source = undef,
$pin = false,
$architecture = undef,
- $trusted
= false,
+ $trusted
_source
= false,
) {
include apt::params
include apt::update
validate_string($architecture)
) {
include apt::params
include apt::update
validate_string($architecture)
- validate_bool($trusted)
+ validate_bool($trusted
_source
)
$sources_list_d = $apt::params::sources_list_d
$provider = $apt::params::provider
$sources_list_d = $apt::params::sources_list_d
$provider = $apt::params::provider
@@
-44,7
+44,7
@@
define apt::source(
owner => root,
group => root,
mode => '0644',
owner => root,
group => root,
mode => '0644',
- content => template(
"${module_name}/source.list.erb"
),
+ content => template(
'apt/_header.erb', 'apt/source.list.erb'
),
notify => Exec['apt_update'],
}
notify => Exec['apt_update'],
}