Merge pull request #428 from puppetlabs/daenney/apt-setting
[puppet-modules/puppetlabs-apt.git] / manifests / update.pp
index 8cb38b226ac672e6f6f1d37d94780da35b72c9b5..26790ceafa8a34391336a4430111cdbc08ff65f0 100644 (file)
@@ -1,5 +1,4 @@
 class apt::update {
-  include apt::params
   #TODO: to catch if $::apt_update_last_success has the value of -1 here. If we
   #opt to do this, a info/warn would likely be all you'd need likely to happen
   #on the first run, but if it's not run in awhile something is likely borked
@@ -48,7 +47,10 @@ class apt::update {
         $_kick_apt = false
       }
     }
+  } else {
+    $_kick_apt = false
   }
+
   if $_kick_apt {
     $_refresh = false
   } else {