X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fsetting.pp;h=b0fb62b1debd8fb5d90c1f86cb0f0bdc5e778a7f;hb=89c747ab3b2caad9b36b8ce53a693537f4db6f36;hp=d723eb2c53103b0db61f7a3bf3155620d90ace90;hpb=1f7cff57059c768ea0b33fd7cd13dbc50518ba51;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/setting.pp b/manifests/setting.pp index d723eb2..b0fb62b 100644 --- a/manifests/setting.pp +++ b/manifests/setting.pp @@ -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