Skip to content

Commit

Permalink
Merge pull request #525 from ianmacl/MODULES-2070
Browse files Browse the repository at this point in the history
Backwards compatibility with older versions of puppet
  • Loading branch information
Morgan Haskel committed Jun 8, 2015
2 parents 0ca555f + e521451 commit f1fe05e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@
}

$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' {
Expand Down

0 comments on commit f1fe05e

Please sign in to comment.