(MODULES-3983) Update parallel_tests for ruby 2.0.0
[puppet-modules/puppetlabs-apt.git] / manifests / setting.pp
index d723eb2c53103b0db61f7a3bf3155620d90ace90..b0fb62b1debd8fb5d90c1f86cb0f0bdc5e778a7f 100644 (file)
@@ -37,7 +37,7 @@ define apt::setting (
     validate_string($content)
   }
 
-  if $setting_type == 'list' {
+  if ($setting_type == 'list') or ($setting_type == 'pref') {
     $_priority = ''
   } else {
     $_priority = $priority