if $purge_preferences {
file { 'apt-preferences':
- ensure => absent,
- path => "${root}/preferences",
+ ensure => absent,
+ path => "${root}/preferences",
}
}
}
false: {
file { '99progressbar':
- ensure => absent,
- path => "${apt_conf_d}/99progressbar",
+ ensure => absent,
+ path => "${apt_conf_d}/99progressbar",
}
}
undef: {} # do nothing
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: {
}
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.