aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-02 13:26:28 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-02 13:26:28 -0200
commit602824e39c1a4e42d5dab7959d607785cf2ee5d2 (patch)
treeba864e9a7ac12afe238890dd4558986f5b04dff9
parent8a02e814ee8dd1fa608bcde0942dae6e9663437b (diff)
downloadpuppet-apt-602824e39c1a4e42d5dab7959d607785cf2ee5d2.tar.gz
puppet-apt-602824e39c1a4e42d5dab7959d607785cf2ee5d2.tar.bz2
Minor fix
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a791a37..8593300 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -16,7 +16,7 @@ class apt {
default => $backports_enabled,
}
- $apt_update_method = $apt_update_method {
+ $apt_update_method = $apt_update_method ? {
'' => 'exec',
default => $apt_update_method,
}