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
Fix some Puppet Lint errors
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
init.pp
diff --git
a/manifests/init.pp
b/manifests/init.pp
index 1c318b67ca979259ef79933b6b0faf2dedb85f7d..eb8c709babcbefb020ecad42c9f736216f1ec232 100644
(file)
--- a/
manifests/init.pp
+++ b/
manifests/init.pp
@@
-89,8
+89,8
@@
class apt(
if $purge_preferences {
file { 'apt-preferences':
if $purge_preferences {
file { 'apt-preferences':
- ensure
=> absent,
- path
=> "${root}/preferences",
+ ensure => absent,
+ path => "${root}/preferences",
}
}
}
}
@@
-113,8
+113,8
@@
class apt(
}
false: {
file { '99progressbar':
}
false: {
file { '99progressbar':
- ensure
=> absent,
- path
=> "${apt_conf_d}/99progressbar",
+ ensure => absent,
+ path => "${apt_conf_d}/99progressbar",
}
}
undef: {} # do nothing
}
}
undef: {} # do nothing
@@
-142,9
+142,9
@@
class apt(
case $proxy_host {
false, '', undef: {
file { '01proxy':
case $proxy_host {
false, '', undef: {
file { '01proxy':
- ensure
=> absent,
- path
=> "${apt_conf_d}/01proxy",
- notify
=> Exec['apt_update'],
+ ensure => absent,
+ path => "${apt_conf_d}/01proxy",
+ notify => Exec['apt_update'],
}
}
default: {
}
}
default: {
@@
-161,9
+161,9
@@
class apt(
}
file { 'old-proxy-file':
}
file { 'old-proxy-file':
- ensure
=> absent,
- path
=> "${apt_conf_d}/proxy",
- notify
=> Exec['apt_update'],
+ ensure => absent,
+ path => "${apt_conf_d}/proxy",
+ notify => Exec['apt_update'],
}
# Need anchor to provide containment for dependencies.
}
# Need anchor to provide containment for dependencies.