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
Update CODEOWNERS
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
params.pp
diff --git
a/manifests/params.pp
b/manifests/params.pp
index ae656dbf8f7fde2a8eb5f8c0b94cacf1b629661b..3ce8f4864007f151262e64f0fab3208bfa1ed5a3 100644
(file)
--- a/
manifests/params.pp
+++ b/
manifests/params.pp
@@
-3,7
+3,6
@@
# @api private
#
class apt::params {
# @api private
#
class apt::params {
-
if $facts['os']['family'] != 'Debian' {
fail('This module only works on Debian or derivatives like Ubuntu')
}
if $facts['os']['family'] != 'Debian' {
fail('This module only works on Debian or derivatives like Ubuntu')
}
@@
-44,7
+43,7
@@
class apt::params {
'list' => {
'path' => $sources_list_d,
'ext' => '.list',
'list' => {
'path' => $sources_list_d,
'ext' => '.list',
- }
+ }
,
}
$update_defaults = {
}
$update_defaults = {
@@
-76,12
+75,12
@@
class apt::params {
'src' => false,
}
'src' => false,
}
- case $facts['os']['name']{
+ case $facts['os']['name']
{
'Debian': {
'Debian': {
-
$backports = {
-
'location' => 'http://deb.debian.org/debian',
-
'repos' => 'main contrib non-free',
-
}
+ $backports = {
+ 'location' => 'http://deb.debian.org/debian',
+ 'repos' => 'main contrib non-free',
+ }
$ppa_options = undef
$ppa_package = undef
$auth_conf_owner = '_apt'
$ppa_options = undef
$ppa_package = undef
$auth_conf_owner = '_apt'
@@
-92,7
+91,7
@@
class apt::params {
'key' => '630239CC130E1A7FD81A27B140976EAF437D05B5',
'repos' => 'main universe multiverse restricted',
}
'key' => '630239CC130E1A7FD81A27B140976EAF437D05B5',
'repos' => 'main universe multiverse restricted',
}
- $ppa_options =
'-y'
+ $ppa_options =
['-y']
$ppa_package = 'software-properties-common'
$auth_conf_owner = '_apt'
}
$ppa_package = 'software-properties-common'
$auth_conf_owner = '_apt'
}