Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
535a5b6
)
Backwards compatibility with older versions of puppet
author
Ian MacLennan
<ianlenmac@gmail.com>
Mon, 25 May 2015 13:28:04 +0000
(09:28 -0400)
committer
Ian MacLennan
<ianlenmac@gmail.com>
Mon, 25 May 2015 13:28:04 +0000
(09:28 -0400)
manifests/init.pp
patch
|
blob
|
history
diff --git
a/manifests/init.pp
b/manifests/init.pp
index 5d9baa29edfdc4b47301775fe2c1086d159a6441..ded13f2fc46b3bf04f72b422d3338e9bdf357cf8 100644
(file)
--- a/
manifests/init.pp
+++ b/
manifests/init.pp
@@
-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' {