if $proxy['host'] {
apt::setting { 'conf-proxy':
priority => '01',
- content => template('apt/_header.erb', 'apt/proxy.erb'),
+ content => template('apt/_conf_header.erb', 'apt/proxy.erb'),
}
}
$sources_list_content = $_purge['sources.list'] ? {
- false => undef,
- true => "# Repos managed by puppet.\n",
+ true => "# Repos managed by puppet.\n",
+ default => undef,
}
$preferences_ensure = $_purge['preferences'] ? {
- false => file,
- true => absent,
+ true => absent,
+ default => file,
}
if $_update['frequency'] == 'always' {
apt::setting { 'conf-update-stamp':
priority => 15,
- content => template('apt/_header.erb', 'apt/15update-stamp.erb'),
+ content => template('apt/_conf_header.erb', 'apt/15update-stamp.erb'),
}
file { 'sources.list':