Allow priorities to be zero-padded
[puppet-modules/puppetlabs-apt.git] / manifests / update.pp
index d9b338d952a23bfef373dd987d151ef8a2467fab..6f338f043c692525c71668291d4d8c97a24a2403 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
@@ -58,7 +57,7 @@ class apt::update {
     $_refresh = true
   }
   exec { 'apt_update':
-    command     => "${apt::params::provider} update",
+    command     => "${::apt::provider} update",
     logoutput   => 'on_failure',
     refreshonly => $_refresh,
     timeout     => $apt::update_timeout,