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
Addressing Rubocop Errors
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
init.pp
diff --git
a/manifests/init.pp
b/manifests/init.pp
index 581ce2d32db403b91eeda05a41a4db732a5e386d..aa61986d21fdc992b3b3cecf85c898f6ea35a7f1 100644
(file)
--- a/
manifests/init.pp
+++ b/
manifests/init.pp
@@
-78,6
+78,9
@@
class apt (
if $proxy['https']{
assert_type(Boolean, $proxy['https'])
}
if $proxy['https']{
assert_type(Boolean, $proxy['https'])
}
+ if $proxy['direct']{
+ assert_type(Boolean, $proxy['direct'])
+ }
$_proxy = merge($apt::proxy_defaults, $proxy)
$_proxy = merge($apt::proxy_defaults, $proxy)