summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2018-04-04 15:11:46 +0000
committerintrigeri <intrigeri@boum.org>2018-04-04 15:11:46 +0000
commitedeab55358e73cb9cab42ec6cbe34b35dbbd7ef6 (patch)
tree96a5d3247ad85cd039928c21501bff20538e4e36
parent20495b7f7dd9b467a53a843d484f1726f0cbab85 (diff)
WIP: ensure Exec[update_apt] is available in apt::preferences_snippet.
-rw-r--r--manifests/preferences_snippet.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/preferences_snippet.pp b/manifests/preferences_snippet.pp
index 04fb010..a980b24 100644
--- a/manifests/preferences_snippet.pp
+++ b/manifests/preferences_snippet.pp
@@ -7,6 +7,8 @@ define apt::preferences_snippet (
$pin = undef,
) {
+ include ::apt
+
$real_package = $package ? {
false => $name,
default => $package,