Merge pull request #525 from ianmacl/MODULES-2070

Backwards compatibility with older versions of puppet
This commit is contained in:
Morgan Haskel 2015-06-08 15:08:48 -07:00
commit f1fe05ec2b

View file

@ -72,13 +72,13 @@ class apt(
}
$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' {